From: Andrew Dolgov Date: Fri, 26 Aug 2005 00:46:51 +0000 (+0100) Subject: fixed bug in updated posts marking process X-Git-Tag: 1.0~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2d84262b145b09acf4fa8daa1cf78d408ee2b1d2;p=tt-rss.git fixed bug in updated posts marking process --- diff --git a/functions.php b/functions.php index 1374328b..305c8425 100644 --- a/functions.php +++ b/functions.php @@ -192,13 +192,17 @@ $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,'; }