Skip to content
Snippets Groups Projects
Commit 061a3384 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1836 from GPCsolutions/dictionaries

Fix: module still using deprecated dictionnaries
parents c799f0f1 820ae820
No related branches found
No related tags found
No related merge requests found
...@@ -78,13 +78,13 @@ class modProductBatch extends DolibarrModules ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment