summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-22 12:10:30 +0100
committerAndrew Dolgov <[email protected]>2005-08-22 12:10:30 +0100
commit829396cca2dfbe66354c2246521e660efb13fd6c (patch)
tree96b9e3dc797c7dc0302b7c5c4728092ef3a94655 /functions.php
parente6d1c0a06a904a5fead7271cb6a1e152439fe22e (diff)
fixed bug in handling null last_read values on headline update
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index bafb8d08e..ef3bfa98e 100644
--- a/functions.php
+++ b/functions.php
@@ -112,7 +112,7 @@
// if ($md5_hash != $content_md5 && CONTENT_CHECK_MD5)
// $unread = "true";
- if ($md5_hash != $content_md5) {
+ if (!$last_read || $md5_hash != $content_md5) {
$last_read = 'null';
} else {
$last_read = "'$last_read'";