1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:55:55 +00:00

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

View File

@@ -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'";