pubsub: cast feed_id as integer

This commit is contained in:
Andrew Dolgov 2011-08-21 15:46:44 +04:00
parent e6a63a1c69
commit 4dd369d42a

View file

@ -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) {