From: Andrew Dolgov Date: Mon, 22 Aug 2005 11:10:30 +0000 (+0100) Subject: fixed bug in handling null last_read values on headline update X-Git-Tag: 20050823-1~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=829396cca2dfbe66354c2246521e660efb13fd6c;p=tt-rss.git fixed bug in handling null last_read values on headline update --- diff --git a/functions.php b/functions.php index bafb8d08..ef3bfa98 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'";