forked from Wavyzz/dolibarr
Clean code
This commit is contained in:
@@ -785,12 +785,12 @@ class DolibarrModules
|
||||
|
||||
foreach ($this->const as $key => $value)
|
||||
{
|
||||
$name = $this->const[$key][0];
|
||||
$type = $this->const[$key][1];
|
||||
$val = $this->const[$key][2];
|
||||
$note = $this->const[$key][3];
|
||||
$visible= $this->const[$key][4];
|
||||
$entity = ! empty($this->const[$key][5])?0:$conf->entity;
|
||||
$name = $this->const[$key][0];
|
||||
$type = $this->const[$key][1];
|
||||
$val = $this->const[$key][2];
|
||||
$note = $this->const[$key][3];
|
||||
$visible = $this->const[$key][4];
|
||||
$entity = ! empty($this->const[$key][5])?0:$conf->entity;
|
||||
|
||||
// Clean
|
||||
if (empty($visible)) $visible='0';
|
||||
|
||||
@@ -107,7 +107,6 @@ class modSociete extends DolibarrModules
|
||||
$this->const[$r][2] = "DOL_DATA_ROOT/odttemplates/thirdparties";
|
||||
$this->const[$r][3] = "";
|
||||
$this->const[$r][4] = 0;
|
||||
$this->const[$r][6] = '$this->db->type != \'pgsql\''; // Condition
|
||||
$r++;
|
||||
|
||||
// Boxes
|
||||
|
||||
Reference in New Issue
Block a user