]> git.wh0rd.org Git - tt-rss.git/commitdiff
fixed bug in updated posts marking process
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 26 Aug 2005 00:46:51 +0000 (01:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 26 Aug 2005 00:46:51 +0000 (01:46 +0100)
functions.php

index 1374328bf0dc6da38ad99c0ce7c8027279ac43d9..305c8425e7da4e449cf8405f4b8f2c6eaeec8ea1 100644 (file)
                                        $orig_no_orig_date = pg_fetch_result($result, 0, "no_orig_date");
                                        $orig_title = pg_fetch_result($result, 0, "title");
 
-                                       if ($orig_title != $entry_title) {
-                                               $last_read_qpart = 'last_read = null,';
-                                       }
-                                       
+                                       $last_read_qpart = "";
+
+//                                     if ("$orig_title" != "$entry_title") {
+//                                             $last_read_qpart = 'last_read = null,';
+//                                     }
+                               
                                        if (UPDATE_POST_ON_CHECKSUM_CHANGE && 
                                                        $orig_content_hash != $content_hash) {
 
+                                       print "$orig_content_hash : $content_hash";
+
                                                $last_read_qpart = 'last_read = null,';
                                        }