1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 23:51:29 +00:00

Specify feed_id as an int rather than a string.

This commit is contained in:
John Brayton
2016-08-28 20:08:37 -04:00
parent f1b3b3f330
commit 401eb0f694

View File

@@ -1772,9 +1772,9 @@
set_basic_feed_info($feed_id); set_basic_feed_info($feed_id);
} }
return array("code" => 1, "feed_id" => $feed_id); return array("code" => 1, "feed_id" => (int) $feed_id);
} else { } 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"));
} }
} }