mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #10749 from ikuwow/2.next-fix-broken-cookie
Fix broken cookie issue
This commit is contained in:
commit
05d30a6f05
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Security {
|
|||
return '';
|
||||
}
|
||||
|
||||
srand((int)Configure::read('Security.cipherSeed'));
|
||||
srand((int)(float)Configure::read('Security.cipherSeed'));
|
||||
$out = '';
|
||||
$keyLength = strlen($key);
|
||||
for ($i = 0, $textLength = strlen($text); $i < $textLength; $i++) {
|
||||
|
|
Loading…
Reference in a new issue