Share: fix cache put function

This commit is contained in:
Robin Appelman 2013-01-01 18:10:38 +01:00
parent 4b65dd608a
commit 0ac78a6411

View file

@ -110,7 +110,7 @@ class Shared_Cache extends Cache {
*/
public function put($file, array $data) {
if ($cache = $this->getSourceCache($file)) {
return $cache->put($this->files[$file]);
return $cache->put($this->files[$file], $data);
}
return false;
}