// Fixed getCurrentCustomerGroups() #PSFV-843
This commit is contained in:
1 parent
11a56a2083
commit
7ad2a2a22d
1 file changed
+1
-1
@@ -867,7 +867,7 @@ class FrontControllerCore extends Controller
|
|||||||
return array();
|
return array();
|
||||||
|
|
||||||
$context = Context::getContext();
|
$context = Context::getContext();
|
||||||
if (!$context->customer->id)
|
if (!isset($context->customer))
|
||||||
return array();
|
return array();
|
||||||
if (!is_array(self::$currentCustomerGroups))
|
if (!is_array(self::$currentCustomerGroups))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user