From 6439a40dda129662b451e70c5d246b54940cdcaf Mon Sep 17 00:00:00 2001 From: Git Date: Sat, 24 Nov 2012 08:00:18 +0000 Subject: [PATCH] Empty commit --- design/privateheader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/design/privateheader.php b/design/privateheader.php index 4268094e..b3c0e8d4 100644 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -119,10 +119,10 @@ } ?> @@ -160,7 +160,7 @@ JOIN forums_last_read_topics AS l ON s.UserID = l.UserID AND s.TopicID = l.TopicID JOIN forums_topics AS t ON l.TopicID = t.ID JOIN forums AS f ON t.ForumID = f.ID - WHERE (f.MinClassRead <= ".$LoggedUser['Class']." OR f.ID IN ('$PermittedForums') + WHERE (f.MinClassRead <= ".$LoggedUser['Class']." OR f.ID IN ('$PermittedForums')) AND l.PostID < t.LastPostID AND s.UserID = ".$LoggedUser['ID']. (!empty($RestrictedForums) ? "