forked from Wavyzz/dolibarr
Fix: Error management in module activation
This commit is contained in:
@@ -59,7 +59,7 @@ class modService extends DolibarrModules
|
||||
$this->revision = explode(" ","$Revision$");
|
||||
$this->version = $this->revision[1];
|
||||
|
||||
$this->const_name = 'MAIN_MODULE_SERVICE';
|
||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||
$this->special = 0;
|
||||
$this->picto='service';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user