mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
fixed bug in handling null last_read values on headline update
This commit is contained in:
@@ -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'";
|
||||||
|
|||||||
Reference in New Issue
Block a user