2
0
forked from Wavyzz/dolibarr

Fix: Error management in module activation

This commit is contained in:
Laurent Destailleur
2008-10-06 07:39:52 +00:00
parent 54a0b4fbde
commit 762140e975
51 changed files with 582 additions and 566 deletions

View File

@@ -61,7 +61,7 @@ class modMantis extends DolibarrModules
// Possible values for version are: 'experimental' or 'dolibarr' or version
$this->version = 'dolibarr';
// Id used in llx_const table to manage module status (enabled/disabled)
$this->const_name = 'MAIN_MODULE_MANTIS';
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page (0=common,1=interface,2=other)
$this->special = 1;
// Name of png file (without png) used for this module