From: Andrew Dolgov Date: Sat, 6 Jul 2013 21:03:45 +0000 (+0400) Subject: rename orig_guid to no_orig_guid X-Git-Tag: 1.9~73 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=356e13b161cabf9e116a3d057c527b0eeee5b25a;p=tt-rss.git rename orig_guid to no_orig_guid --- diff --git a/classes/handler/public.php b/classes/handler/public.php index 1be32200..810fce78 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -348,7 +348,7 @@ class Handler_Public extends Handler { function rss() { $feed = $this->dbh->escape_string($_REQUEST["id"]); $key = $this->dbh->escape_string($_REQUEST["key"]); - $is_cat = $_REQUEST["is_cat"] != "false"; + $is_cat = sql_bool_to_bool($_REQUEST["is_cat"]); $limit = (int)$this->dbh->escape_string($_REQUEST["limit"]); $offset = (int)$this->dbh->escape_string($_REQUEST["offset"]); @@ -358,7 +358,7 @@ class Handler_Public extends Handler { $order = $this->dbh->escape_string($_REQUEST["order"]); $format = $this->dbh->escape_string($_REQUEST['format']); - $orig_guid = $_REQUEST["orig_guid"] != "false"; + $orig_guid = !sql_bool_to_bool($_REQUEST["no_orig_guid"]); if (!$format) $format = 'atom';