From 6a8b4c2951314441e670d89204dd3b913698b23d Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 19 Apr 2012 06:56:52 +0000 Subject: - Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 024fd3ec3..e70980137 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -520,7 +520,7 @@ class rcmail extends rcube $_SESSION['storage_port'] = $port; $_SESSION['storage_ssl'] = $ssl; $_SESSION['password'] = $this->encrypt($pass); - $_SESSION['login_time'] = mktime(); + $_SESSION['login_time'] = time(); if (isset($_REQUEST['_timezone']) && $_REQUEST['_timezone'] != '_default_') $_SESSION['timezone'] = floatval($_REQUEST['_timezone']); -- cgit v1.2.3