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
1 changed files with 2 additions and 2 deletions

View File

@ -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"));
}
}