fixed bug in handling null last_read values on headline update
This commit is contained in:
parent
e6d1c0a06a
commit
829396cca2
|
@ -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'";
|
||||||
|
|
Loading…
Reference in New Issue