// Fixed getCurrentCustomerGroups() #PSFV-843

This commit is contained in:
bMancone committed 2012-04-11 13:59:26 +00:00
1 parent 190dd5195b
commit ae54a72d47
1 file changed
+2 -2
+2 -2
View File
@@ -508,7 +508,7 @@ class FrontControllerCore extends Controller
public function displayContent() public function displayContent()
{ {
} }
public function display() public function display()
{ {
Tools::safePostVars(); Tools::safePostVars();
@@ -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))
{ {