// Refactoring of shop class with new context
This commit is contained in:
1 parent
e7ea230525
commit
2d77925e7d
28 files changed
+216
-185
No files matched your search
@@ -728,7 +728,7 @@ class CategoryCore extends ObjectModel
|
||||
public function getName($id_lang = NULL, $id_shop = false, $context = null)
|
||||
{
|
||||
if (!$id_shop)
|
||||
$id_shop = (int)Shop::getCurrentShop(true);
|
||||
$id_shop = Context::getContext()->shop->getID();
|
||||
if (!$id_lang)
|
||||
{
|
||||
if (!$context)
|
||||
|
||||
Reference in new issue
Block a user