summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-28 02:46:01 +0100
committerAndrew Dolgov <[email protected]>2005-10-28 02:46:01 +0100
commit383f1827d1b1f60145546803d8523cb636b838b4 (patch)
tree33e546331a53f1311fb80ba5bb8b47fabbc2dd38 /functions.php
parentc70d731e238d8bc414f2488a42906e13c68797e6 (diff)
escape feed id in update_rss_feed()
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index e1fc66b0d..fee40cb9d 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'");
}