From: Andrew Dolgov Date: Sun, 21 Aug 2011 11:46:44 +0000 (+0400) Subject: pubsub: cast feed_id as integer X-Git-Tag: 1.5.6~50 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4dd369d42a7be58fb2c2a2c2eb4ca349c43df114;p=tt-rss.git pubsub: cast feed_id as integer --- diff --git a/backend.php b/backend.php index b06bd000..cee1b6f0 100644 --- a/backend.php +++ b/backend.php @@ -547,7 +547,7 @@ case "pubsub": $mode = db_escape_string($_REQUEST['hub_mode']); - $feed_id = db_escape_string($_REQUEST['id']); + $feed_id = (int) db_escape_string($_REQUEST['id']); $feed_url = db_escape_string($_REQUEST['hub_topic']); if (!PUBSUBHUBBUB_ENABLED) {