[+] CORE : Fixed cache_id

This commit is contained in:
gRoussac
2013-11-12 17:09:38 +01:00
parent fc193d5c8b
commit 036e2362c9
16 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ class CustomerCore extends ObjectModel
{
if (!Validate::isUnsignedId($id_customer))
return true;
$cache_id = __CLASS__.__FUNCTION__.(int)$id_customer;
$cache_id = 'Customer::isBanned_'.(int)$id_customer;
if (!Cache::isStored($cache_id))
{
$result = (bool)!Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('