Merge pull request #1836 from GPCsolutions/dictionaries

Fix: module still using deprecated dictionnaries
This commit is contained in:
Laurent Destailleur 2014-08-21 23:21:08 +02:00
commit 061a3384fc

View File

@ -78,13 +78,13 @@ class modProductBatch extends DolibarrModules
$this->tabs = array(); $this->tabs = array();
// Dictionnaries // Dictionaries
if (! isset($conf->productbatch->enabled)) if (! isset($conf->productbatch->enabled))
{ {
$conf->productbatch=new stdClass(); $conf->productbatch=new stdClass();
$conf->productbatch->enabled=0; $conf->productbatch->enabled=0;
} }
$this->dictionnaries=array(); $this->dictionaries=array();
// Boxes // Boxes
$this->boxes = array(); // List of boxes $this->boxes = array(); // List of boxes