diff options
author | Andrew Dolgov <[email protected]> | 2005-08-22 12:10:30 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-22 12:10:30 +0100 |
commit | 829396cca2dfbe66354c2246521e660efb13fd6c (patch) | |
tree | 96b9e3dc797c7dc0302b7c5c4728092ef3a94655 /functions.php | |
parent | e6d1c0a06a904a5fead7271cb6a1e152439fe22e (diff) |
fixed bug in handling null last_read values on headline update
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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'"; |