Skip to content

Commit cb0819a

Browse files
authored
Merge pull request #716 from motikan2010/patch-1
Fixed TypeError in lib/Phpfastcache/Drivers/Cookie/Driver.php
2 parents 82085d5 + f934a4f commit cb0819a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Phpfastcache/Drivers/Cookie/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function driverCheck(): bool
4949
*/
5050
protected function driverConnect(): bool
5151
{
52-
return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', 1, 10));
52+
return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', '1', 10));
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)