FIX : if multicompany enabled, call to undifend method _setCookie

instead of setCookie
This commit is contained in:
Florian HENRY 2015-07-27 22:08:33 +02:00
parent c0412acdea
commit d78292b9af

View File

@ -660,7 +660,7 @@ if (! defined('NOLOGIN'))
$cryptkey = (! empty($conf->file->cookie_cryptkey) ? $conf->file->cookie_cryptkey : '' );
$entityCookie = new DolCookie($cryptkey);
$entityCookie->_setCookie($entityCookieName, $entity, $ttl);
$entityCookie->setCookie($entityCookieName, $entity, $ttl);
}
// Hooks on successfull login