rename orig_guid to no_orig_guid

This commit is contained in:
Andrew Dolgov 2013-07-07 01:03:45 +04:00
parent fcf6bfba32
commit 356e13b161
1 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ class Handler_Public extends Handler {
function rss() { function rss() {
$feed = $this->dbh->escape_string($_REQUEST["id"]); $feed = $this->dbh->escape_string($_REQUEST["id"]);
$key = $this->dbh->escape_string($_REQUEST["key"]); $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"]); $limit = (int)$this->dbh->escape_string($_REQUEST["limit"]);
$offset = (int)$this->dbh->escape_string($_REQUEST["offset"]); $offset = (int)$this->dbh->escape_string($_REQUEST["offset"]);
@ -358,7 +358,7 @@ class Handler_Public extends Handler {
$order = $this->dbh->escape_string($_REQUEST["order"]); $order = $this->dbh->escape_string($_REQUEST["order"]);
$format = $this->dbh->escape_string($_REQUEST['format']); $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'; if (!$format) $format = 'atom';