Fix
http://www.dolibarr.fr/forum/527-bugs-sur-la-version-stable-courante/50854-multi-societe-options-cookies
This commit is contained in:
parent
7d77772820
commit
b9df48d48c
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user