diff --git a/common/framework/drivers/cache/file.php b/common/framework/drivers/cache/file.php index c351ce808..bd1d5d62a 100644 --- a/common/framework/drivers/cache/file.php +++ b/common/framework/drivers/cache/file.php @@ -161,7 +161,7 @@ class File implements \Rhymix\Framework\Drivers\CacheInterface public function incr($key, $amount) { $value = intval($this->get($key)); - $success = $this->set($key, $value + $amount, 0); + $success = $this->set($key, $value + $amount, 0, true); return $success ? ($value + $amount) : false; }