From: Andrew Dolgov Date: Fri, 28 Oct 2005 01:46:01 +0000 (+0100) Subject: escape feed id in update_rss_feed() X-Git-Tag: 1.0.7~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=383f1827d1b1f60145546803d8523cb636b838b4;p=tt-rss.git escape feed id in update_rss_feed() --- diff --git a/functions.php b/functions.php index e1fc66b0..fee40cb9 100644 --- a/functions.php +++ b/functions.php @@ -347,7 +347,7 @@ } } - db_query($link, "UPDATE ttrss_feeds SET last_updated = NOW() WHERE id = $feed"); + db_query($link, "UPDATE ttrss_feeds SET last_updated = NOW() WHERE id = '$feed'"); }