[-] BO : BugFix : #PSCFV-2373 : Problem on country creation
This commit is contained in:
1 parent
72d8a44855
commit
c70b3449f0
3 files changed
+2
-4
No files matched your search
@@ -195,7 +195,7 @@ abstract class ObjectModelCore
|
||||
if ($id_lang)
|
||||
{
|
||||
$sql->leftJoin($this->def['table'].'_lang', 'b', 'a.'.$this->def['primary'].' = b.'.$this->def['primary'].' AND b.id_lang = '.(int)$id_lang);
|
||||
if ($this->id_shop)
|
||||
if ($this->id_shop && !empty($this->def['multilang_shop']))
|
||||
$sql->where('b.id_shop = '.$this->id_shop);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user