Skip to content
Snippets Groups Projects
Commit 25f12590 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge branch '3.5' of git@github.com:Dolibarr/dolibarr.git into 3.5

parents 2cf9a751 32a6d59b
Branches
No related tags found
No related merge requests found
......@@ -91,7 +91,9 @@ class DolCookie
$num = (count($this->cookiearray) - 2);
for ($f = 0; $f <= $num; $f++)
{
$this->myValue .= strval(chr($this->cookiearray[$f]/$this->myKey));
if (!empty($this->myKey)) {
$this->myValue .= strval(chr($this->cookiearray[$f]/$this->myKey));
}
}
return(base64_decode($this->myValue));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment