fixed bug in updated posts marking process

This commit is contained in:
Andrew Dolgov 2005-08-26 01:46:51 +01:00
parent e3720bad66
commit 2d84262b14
1 changed files with 8 additions and 4 deletions

View File

@ -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,';
}