summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Brayton <[email protected]>2016-08-28 20:08:37 -0400
committerJohn Brayton <[email protected]>2016-08-28 20:08:37 -0400
commit401eb0f69497030d322487bf9c595ad60b9281d3 (patch)
tree609d17b4369542d53953181c7363daf1a1f39adb /include
parentf1b3b3f3308b187e067ccac7daeb2258751d10ce (diff)
Specify feed_id as an int rather than a string.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 68f6f592b..3dea5677a 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"));
}
}