From 2d84262b145b09acf4fa8daa1cf78d408ee2b1d2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Aug 2005 01:46:51 +0100 Subject: [PATCH] fixed bug in updated posts marking process --- functions.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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,'; } -- 2.39.5