summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 46d010237..1374328bf 100644
--- a/functions.php
+++ b/functions.php
@@ -195,8 +195,10 @@
if ($orig_title != $entry_title) {
$last_read_qpart = 'last_read = null,';
}
+
+ if (UPDATE_POST_ON_CHECKSUM_CHANGE &&
+ $orig_content_hash != $content_hash) {
- if ($orig_content_hash != $content_hash) {
$last_read_qpart = 'last_read = null,';
}