[-] Classes : #PSTEST-214 : BugFix : TopMenu for shops and groups

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11973 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fGaillard
2012-01-02 10:15:49 +00:00
parent 1e827f9465
commit 9ff33d65cf
2 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ class ShopCore extends ObjectModel
{
if (defined('_PS_ADMIN_DIR_'))
return Shop::getContextGroupID();
return (int)$this->id_group_shop;
return (isset($this->id_group_shop)) ? (int)$this->id_group_shop : NULL;
}
/**