]> git.wh0rd.org Git - tt-rss.git/commitdiff
Specify feed_id as an int rather than a string.
authorJohn Brayton <jbrayton@goldenhillsoftware.com>
Mon, 29 Aug 2016 00:08:37 +0000 (20:08 -0400)
committerJohn Brayton <jbrayton@goldenhillsoftware.com>
Mon, 29 Aug 2016 00:08:37 +0000 (20:08 -0400)
include/functions.php

index 68f6f592bdd6afd349dc82d231eb603f786185ac..3dea5677a9970515e22e546ca193e3f57737e169 100755 (executable)
                                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"));
                }
        }