Fix: module still using deprecated dictionnaries

This commit is contained in:
Raphaël Doursenaud 2014-08-20 10:46:09 +02:00
parent 68aca6f2bb
commit 820ae82088

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