Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts: htdocs/core/class/html.formticket.class.php htdocs/takepos/admin/setup.php
This commit is contained in:
commit
2109a91992
@ -987,10 +987,10 @@ class FormTicket
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MESSAGE
|
// MESSAGE
|
||||||
$defaultmessage = "";
|
$defaultmessage="";
|
||||||
if (is_array($arraydefaultmessage) && count($arraydefaultmessage) > 0 && $arraydefaultmessage->content) {
|
if (is_object($arraydefaultmessage) && $arraydefaultmessage->content) {
|
||||||
$defaultmessage = $arraydefaultmessage->content;
|
$defaultmessage = $arraydefaultmessage->content;
|
||||||
}
|
}
|
||||||
$defaultmessage = str_replace('\n', "\n", $defaultmessage);
|
$defaultmessage = str_replace('\n', "\n", $defaultmessage);
|
||||||
|
|
||||||
// Deal with format differences between message and signature (text / HTML)
|
// Deal with format differences between message and signature (text / HTML)
|
||||||
|
|||||||
@ -214,7 +214,7 @@ class modContrat extends DolibarrModules
|
|||||||
*/
|
*/
|
||||||
public function init($options = '')
|
public function init($options = '')
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf, $langs;
|
||||||
|
|
||||||
// Nettoyage avant activation
|
// Nettoyage avant activation
|
||||||
$this->remove($options);
|
$this->remove($options);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user