From 23ce17b3082b959089740f9f530da99736e57e50 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 22 May 2009 15:38:09 +0000 Subject: [PATCH] Add: entity cookie just used for the login page --- 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 ea3e6ea1e5f..2ed7cedca2c 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -453,7 +453,7 @@ if (! isset($_SESSION["dol_login"])) $cryptkey = (! empty($conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY) ? $conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY : '' ); $entityCookie = new DolCookie($cryptkey); - $entityCookie->_setCookie($entityCookieName, $entity); + $entityCookie->_setCookie($entityCookieName, $entity, $ttl); } // Module webcalendar