fixed bug in handling null last_read values on headline update

This commit is contained in:
Andrew Dolgov 2005-08-22 12:10:30 +01:00
parent e6d1c0a06a
commit 829396cca2
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
// if ($md5_hash != $content_md5 && CONTENT_CHECK_MD5) // if ($md5_hash != $content_md5 && CONTENT_CHECK_MD5)
// $unread = "true"; // $unread = "true";
if ($md5_hash != $content_md5) { if (!$last_read || $md5_hash != $content_md5) {
$last_read = 'null'; $last_read = 'null';
} else { } else {
$last_read = "'$last_read'"; $last_read = "'$last_read'";