From 4dd369d42a7be58fb2c2a2c2eb4ca349c43df114 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Aug 2011 15:46:44 +0400 Subject: [PATCH] pubsub: cast feed_id as integer --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5