Orm icon indicating copy to clipboard operation
Orm copied to clipboard

Using [] is deprecated

Open vastlik opened this issue 9 years ago • 1 comments

V performance helperu: orm\Repository\Helpers\PerformanceHelper.php:58

$key = $key ? $key : '*';
               if (strlen($key) > 50)
              {
                   $key = substr($key, 0, 20) . md5($key);
              }
             self::$toLoad = isset($cache[$key]) ? $cache[$key] : NULL;

Hlásí: Using [] is deprecated; use Cache::load(key) !== NULL instead.

vastlik avatar May 24 '15 10:05 vastlik

Opravim to.

Zatim si to vypni. PerformenseHelper::$keyCallback = false

PetrP avatar May 24 '15 10:05 PetrP