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.
1 parent afb1d15 commit c452720Copy full SHA for c452720
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