From d78292b9af3b5e477ae4587fc9cc08dd79896055 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 27 Jul 2015 22:08:33 +0200 Subject: [PATCH] FIX : if multicompany enabled, call to undifend method _setCookie instead of setCookie --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 8fbd48bc855..cd8377ca5a8 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -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