diff options
| author | czaks <marcin@6irc.net> | 2014-06-11 02:05:14 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-06-11 02:05:14 +0200 |
| commit | 503903ac0f1ccbc104366834462377c98f64f6bb (patch) | |
| tree | a7fba77c4fe6f46a3a95ed48aeb1bc55b8cbd480 /inc/mod/pages.php | |
| parent | e27c923b79e3d6d0817941bd3d7ca91576483397 (diff) | |
| parent | 23d6e8203806bba22b6444cd09e53da9fc7c501a (diff) | |
Merge 4.5
Diffstat (limited to 'inc/mod/pages.php')
| -rw-r--r-- | inc/mod/pages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index d340dc44..7c236ba4 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -150,7 +150,7 @@ function mod_dashboard() { $latest = false; } - setcookie('update', serialize($latest), time() + $config['check_updates_time'], $config['cookies']['jail'] ? $config['cookies']['path'] : '/', null, $_SERVER['HTTPS'], true); + setcookie('update', serialize($latest), time() + $config['check_updates_time'], $config['cookies']['jail'] ? $config['cookies']['path'] : '/', null, isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'], true); } if ($latest) |
