Fix: problem with multicompany
This commit is contained in:
parent
42e608bd63
commit
7c54bf489d
@ -112,7 +112,7 @@ class Conf
|
||||
$sql = "SELECT ".$db->decrypt('name')." as name,";
|
||||
$sql.= " ".$db->decrypt('value')." as value, entity";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."const";
|
||||
$sql.= " WHERE entity IN (0,1,".$this->entity.")"; // 1 to herite configuration
|
||||
$sql.= " WHERE entity IN (0,".$this->entity.")";
|
||||
$sql.= " ORDER BY entity"; // This is to have entity 0 first, then entity 1 that overwrite.
|
||||
|
||||
$result = $db->query($sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user