From 383f1827d1b1f60145546803d8523cb636b838b4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Oct 2005 02:46:01 +0100 Subject: [PATCH] escape feed id in update_rss_feed() --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"); } -- 2.39.5