mobile: fix collapse for null category
This commit is contained in:
parent
42096f5202
commit
b750d48551
|
@ -27,10 +27,17 @@
|
||||||
db_query($link, "UPDATE ttrss_feed_categories SET
|
db_query($link, "UPDATE ttrss_feed_categories SET
|
||||||
collapsed = NOT collapsed WHERE id = '$cat_id' AND owner_uid = " .
|
collapsed = NOT collapsed WHERE id = '$cat_id' AND owner_uid = " .
|
||||||
$_SESSION["uid"]);
|
$_SESSION["uid"]);
|
||||||
|
} else {
|
||||||
|
if ($_COOKIE["ttrss_vf_uclps"] != 1) {
|
||||||
|
setcookie("ttrss_vf_uclps", 1);
|
||||||
|
} else {
|
||||||
|
setcookie("ttrss_vf_uclps", 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
header("Location: tt-rss.php");
|
header("Location: tt-rss.php");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Reference in New Issue