From c18b2212cfd6c8b085b8f82e0a43fe052c5fb57f Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 26 Jan 2013 17:18:14 +0000 Subject: fixed setting cookie not working --- inc/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/common.php b/inc/common.php index c74010223..e436ec263 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1582,7 +1582,7 @@ function set_doku_pref($pref, $val) { } if (!empty($cookieVal)) { - setcookie('DOKU_PREFS', $cookieVal, mktime('+1 year'), DOKU_BASE, '', ($conf['securecookie'] && is_ssl())); + setcookie('DOKU_PREFS', $cookieVal, strtotime('+1 year'), DOKU_BASE, '', ($conf['securecookie'] && is_ssl())); } } -- cgit v1.2.3