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

Merge pull request #1734 from FHenry/3.5

Fix
parents f55814e3 b9df48d4
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