From: John Brayton Date: Mon, 29 Aug 2016 00:08:37 +0000 (-0400) Subject: Specify feed_id as an int rather than a string. X-Git-Tag: 17.1~41^2 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=401eb0f69497030d322487bf9c595ad60b9281d3 Specify feed_id as an int rather than a string. --- diff --git a/include/functions.php b/include/functions.php index 68f6f592..3dea5677 100755 --- a/include/functions.php +++ b/include/functions.php @@ -1772,9 +1772,9 @@ set_basic_feed_info($feed_id); } - return array("code" => 1, "feed_id" => $feed_id); + return array("code" => 1, "feed_id" => (int) $feed_id); } else { - return array("code" => 0, "feed_id" => db_fetch_result($result, 0, "id")); + return array("code" => 0, "feed_id" => (int) db_fetch_result($result, 0, "id")); } }