fixed bug in updated posts marking process
This commit is contained in:
parent
e3720bad66
commit
2d84262b14
|
@ -192,13 +192,17 @@
|
||||||
$orig_no_orig_date = pg_fetch_result($result, 0, "no_orig_date");
|
$orig_no_orig_date = pg_fetch_result($result, 0, "no_orig_date");
|
||||||
$orig_title = pg_fetch_result($result, 0, "title");
|
$orig_title = pg_fetch_result($result, 0, "title");
|
||||||
|
|
||||||
if ($orig_title != $entry_title) {
|
$last_read_qpart = "";
|
||||||
$last_read_qpart = 'last_read = null,';
|
|
||||||
}
|
// if ("$orig_title" != "$entry_title") {
|
||||||
|
// $last_read_qpart = 'last_read = null,';
|
||||||
|
// }
|
||||||
|
|
||||||
if (UPDATE_POST_ON_CHECKSUM_CHANGE &&
|
if (UPDATE_POST_ON_CHECKSUM_CHANGE &&
|
||||||
$orig_content_hash != $content_hash) {
|
$orig_content_hash != $content_hash) {
|
||||||
|
|
||||||
|
print "$orig_content_hash : $content_hash";
|
||||||
|
|
||||||
$last_read_qpart = 'last_read = null,';
|
$last_read_qpart = 'last_read = null,';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue