summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorfox <[email protected]>2021-11-19 07:36:15 +0300
committerfox <[email protected]>2021-11-19 07:36:15 +0300
commit0a3a464defbe67092a0bd155cb2f6afcf379da2e (patch)
treedf4d699e5d11d5a6f19f26472a1702cbcbad7f4e /classes/feeds.php
parent3070933f649c097ca8ed02a8aea61eede1408b45 (diff)
parent4a891b20f06e04b015d4da9b755d444b915f4b7d (diff)
Merge pull request 'Consistently handle param string to bool conversions in handlers.' (#53) from wn/tt-rss:feature/consistent-param-to-bool into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/53
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 970db0107..3fc4162ad 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -456,7 +456,7 @@ class Feeds extends Handler_Protected {
$method = $_REQUEST["m"] ?? "";
$view_mode = $_REQUEST["view_mode"] ?? "";
$limit = 30;
- $cat_view = $_REQUEST["cat"] == "true";
+ $cat_view = self::_param_to_bool($_REQUEST["cat"] ?? false);
$next_unread_feed = $_REQUEST["nuf"] ?? 0;
$offset = (int) ($_REQUEST["skip"] ?? 0);
$order_by = $_REQUEST["order_by"] ?? "";