Skip to content

Commit

Permalink
# newflag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ts77 committed Feb 10, 2010
1 parent dfa21a0 commit b848a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read.php
Expand Up @@ -475,7 +475,7 @@
// currently viewed message as read. While hybrid mode is a
// form of threaded reading too, we have to mark all the messages
// read since they are all visible.
if (isset($row['new']) &&
if (!empty($row['new']) &&
($PHORUM['threaded_read'] != PHORUM_THREADED_ON ||
$row['message_id'] == $message_id)) {
$read_messages[] = $row['message_id'];
Expand Down

0 comments on commit b848a78

Please sign in to comment.