// Performance optimizations
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16024 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -841,7 +841,7 @@ class FrontControllerCore extends Controller
|
||||
return array();
|
||||
|
||||
$context = Context::getContext();
|
||||
if (!isset($context->customer))
|
||||
if (!isset($context->customer) || !$context->customer->id)
|
||||
return array();
|
||||
|
||||
if (!is_array(self::$currentCustomerGroups))
|
||||
|
||||
Reference in New Issue
Block a user