diff options
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/tt-rss.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mobile/tt-rss.php b/mobile/tt-rss.php index f5a184271..eb212be0d 100644 --- a/mobile/tt-rss.php +++ b/mobile/tt-rss.php @@ -27,9 +27,16 @@ db_query($link, "UPDATE ttrss_feed_categories SET collapsed = NOT collapsed WHERE id = '$cat_id' AND owner_uid = " . $_SESSION["uid"]); - header("Location: tt-rss.php"); - return; + } else { + if ($_COOKIE["ttrss_vf_uclps"] != 1) { + setcookie("ttrss_vf_uclps", 1); + } else { + setcookie("ttrss_vf_uclps", 0); + } } + + header("Location: tt-rss.php"); + return; } ?> |