FIX 10.0 - undefined $langs if template file copy fails during activation of modContrat
This commit is contained in:
parent
4020d97362
commit
0a2099e0ac
@ -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