Browse Source

Removed possible collision in composite cache key #20

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@144 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
aterekhov 15 years ago
parent
commit
62fc5a0a49
  1. 2
      cache/CacheKey.php

2
cache/CacheKey.php

@ -30,7 +30,7 @@ class CacheKey
} }
$this->cache = $cacheable->getCache(); $this->cache = $cacheable->getCache();
$this->expire = $cacheable->getKeyExpire($this->key); $this->expire = $cacheable->getKeyExpire($this->key);
$this->params = (is_array($params)) ? implode('', $params) : $params;
$this->params = (is_array($params)) ? implode('|', $params) : $params;
} }
protected function getCacheKey() protected function getCacheKey()

Loading…
Cancel
Save