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
No related branches found
No related tags found
No related merge requests found
...@@ -91,8 +91,10 @@ class DolCookie ...@@ -91,8 +91,10 @@ class DolCookie
$num = (count($this->cookiearray) - 2); $num = (count($this->cookiearray) - 2);
for ($f = 0; $f <= $num; $f++) for ($f = 0; $f <= $num; $f++)
{ {
if (!empty($this->myKey)) {
$this->myValue .= strval(chr($this->cookiearray[$f]/$this->myKey)); $this->myValue .= strval(chr($this->cookiearray[$f]/$this->myKey));
} }
}
return(base64_decode($this->myValue)); 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