Fix: Remove warning

This commit is contained in:
Laurent Destailleur
2009-11-17 20:58:31 +00:00
parent 2637b30712
commit d61fe706ca
2 changed files with 2 additions and 3 deletions

View File

@@ -759,8 +759,7 @@ class DolibarrModules
$val = $this->const[$key][2];
$note = $this->const[$key][3];
$visible= $this->const[$key][4];
$entity = $this->const[$key][5];
$entity = isset($this->const[$key][5])?$this->const[$key][5]:0;
$entity = ((!empty($entity) || $entity == '0')?$entity:$conf->entity);
$sql = "SELECT count(*)";