diff options
author | Andrew Dolgov <[email protected]> | 2005-08-26 01:46:51 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-26 01:46:51 +0100 |
commit | 2d84262b145b09acf4fa8daa1cf78d408ee2b1d2 (patch) | |
tree | 01ccd4ccc238aac6b2209d8cc6bbc0ffe967dbd2 | |
parent | e3720bad6604e881ec789ff650d3ffcf49f7b582 (diff) |
fixed bug in updated posts marking process
-rw-r--r-- | functions.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/functions.php b/functions.php index 1374328bf..305c8425e 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,'; } |