pubsub: cast feed_id as integer

master
Andrew Dolgov 13 years ago
parent e6a63a1c69
commit 4dd369d42a

@ -547,7 +547,7 @@
case "pubsub": case "pubsub":
$mode = db_escape_string($_REQUEST['hub_mode']); $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']); $feed_url = db_escape_string($_REQUEST['hub_topic']);
if (!PUBSUBHUBBUB_ENABLED) { if (!PUBSUBHUBBUB_ENABLED) {

Loading…
Cancel
Save