Commit 2928bec1 authored by Gregory Roussac's avatar Gregory Roussac

Merge pull request #2406 from guestisp/fix-cache-name-in-state.php

[-] Core: fix cache name in State.php
parents 68404405 95192382
......@@ -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