]> git.wh0rd.org Git - tt-rss.git/commitdiff
escape feed id in update_rss_feed()
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 28 Oct 2005 01:46:01 +0000 (02:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 28 Oct 2005 01:46:01 +0000 (02:46 +0100)
functions.php

index e1fc66b0d36b1bf290914125f0d76bb294e23323..fee40cb9d17ffc7a237c00c025cf0147b35d9294 100644 (file)
                                }
                        }
 
-                       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'");
 
                }