// Fixed getCurrentCustomerGroups() #PSFV-843
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14573 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
26e1fb7158
commit
e3a5357dc9
1 file changed
+2
-2
@@ -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))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user