summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 15:12:10 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 15:12:10 +0100
commit36bf74967c6a6a310a03f2fe30299c8f6bc34124 (patch)
treef1aa5028d6eb1b81e6408f9ad18016afb9bebbd5 /functions.php
parentda61567a39efceb589ce943419d0b1d615b59fe5 (diff)
some searchbox focus workarouns, content hash checking is optional now
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,';
}