]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix broken mark as unread in cat view mode
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 5 Dec 2006 08:18:08 +0000 (09:18 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 5 Dec 2006 08:18:08 +0000 (09:18 +0100)
backend.php

index 0cee573e658bc8574fe35c36bf8b889ded50ea1a..0848fbcce419f73ab238ad4482c560bc771be459 100644 (file)
 
                $result = db_query($link, "UPDATE ttrss_user_entries 
                        SET unread = false,last_read = NOW() 
-                       WHERE ref_id = '$id' AND feed_id = '$feed_id' AND owner_uid = " . $_SESSION["uid"]);
+                       WHERE ref_id = '$id' AND owner_uid = " . $_SESSION["uid"]);
 
                $result = db_query($link, "SELECT title,link,content,feed_id,comments,int_id,
                        SUBSTRING(updated,1,16) as updated,