2
0
forked from Wavyzz/dolibarr

Merge pull request #1734 from FHenry/3.5

Fix
This commit is contained in:
Laurent Destailleur
2014-07-14 23:13:03 +02:00

View File

@@ -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));