We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af60615 + c452720 commit 17f7767Copy full SHA for 17f7767
src/phpFastCache/Drivers/Cookie/Driver.php
@@ -99,7 +99,7 @@ protected function driverRead(CacheItemInterface $item)
99
// return null if no caching
100
// return value if in caching
101
$keyword = self::PREFIX . $item->getKey();
102
- $x = isset($_COOKIE[ $keyword ]) ? $this->decode(json_decode($_COOKIE[ $keyword ], true)) : false;
+ $x = isset($_COOKIE[ $keyword ]) ? json_decode($_COOKIE[ $keyword ], true) : false;
103
104
if ($x == false) {
105
return null;
0 commit comments