aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-22 02:02:11 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-22 02:02:11 +0000
commit82215a40251204776cba83752aec0d1298506a05 (patch)
tree4beabd3a15bb6a90de0803db0fadec781365b338
parent60ba5d46fb7c1e01b11022e8c66da11ff7a2b250 (diff)
downloadforums-82215a40251204776cba83752aec0d1298506a05.tar
forums-82215a40251204776cba83752aec0d1298506a05.tar.gz
forums-82215a40251204776cba83752aec0d1298506a05.tar.bz2
forums-82215a40251204776cba83752aec0d1298506a05.tar.xz
forums-82215a40251204776cba83752aec0d1298506a05.zip
Fix for display of newest image icon when one doesn't exist
git-svn-id: file:///svn/phpbb/trunk@1415 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index c192757226..91eb6b6b13 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1080,7 +1080,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
{
if( isset($HTTP_COOKIE_VARS['phpbb2_' . $forum_id . '_' . $topic_id]) )
{
- if( $HTTP_COOKIE_VARS['phpbb2_' . $forum_id . '_' . $topic_id] < $searchset[$i]['post_time'] )
+ if( $HTTP_COOKIE_VARS['phpbb2_' . $forum_id . '_' . $topic_id] < $searchset[$i]['post_time'] && $searchset[$i]['post_time'] > $userdata['session_last_visit'] )
{
$folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" />";