summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-20 14:40:13 +0400
committerAndrew Dolgov <[email protected]>2013-02-20 14:40:13 +0400
commitf03701fe9918ffef8c663b15760d3dc1d26f52b8 (patch)
treec3bdc88b0201bb653cba43a01b92a9174323b7b2 /include/functions.php
parent7726063cf25e120ac07caee76240695f6588adf8 (diff)
store widescreen status in a cookie (refs #539)
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 37cfd4844..ea538dbb3 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1827,7 +1827,7 @@
$params["hotkeys"] = get_hotkeys_map($link);
$params["csrf_token"] = $_SESSION["csrf_token"];
- $params["widescreen"] = (int) $_SESSION["widescreen"];
+ $params["widescreen"] = (int) $_COOKIE["ttrss_widescreen"];
$params['simple_update'] = defined('SIMPLE_UPDATE_MODE') && SIMPLE_UPDATE_MODE;