Commit 95192382 authored by GUEST.it's avatar GUEST.it

[-] Core: fix cache name in State.php

parent 2b5dbaf1
......@@ -105,7 +105,7 @@ class StateCore extends ObjectModel
{
if (empty($state))
return false;
$cache_id = 'State::getNameById_'.pSQL($state);
$cache_id = 'State::getIdByName_'.pSQL($state);
if (!Cache::isStored($cache_id))
{
$result = (int)Db::getInstance()->getValue('
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment