FIX 10.0 - undefined $langs if template file copy fails during activation of modContrat

This commit is contained in:
Florian Mortgat 2020-06-09 14:22:32 +02:00
parent 4020d97362
commit 0a2099e0ac

View File

@ -214,7 +214,7 @@ class modContrat extends DolibarrModules
*/
public function init($options = '')
{
global $conf;
global $conf, $langs;
// Nettoyage avant activation
$this->remove($options);