aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-19 16:40:56 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-19 16:40:56 +0000
commit4c44eddc907f1e17a6880fdba918d6523c2f660f (patch)
tree61f3bde2129aa9d341b7b01b0ed095b3f797e140 /phpBB/viewtopic.php
parent47d3e4d9b8949d98e86373de0931e928e5ae09ef (diff)
downloadforums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar
forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.gz
forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.bz2
forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.tar.xz
forums-4c44eddc907f1e17a6880fdba918d6523c2f660f.zip
we included a check for getimagesize() existance... now we again can suppress notices while running this function.
git-svn-id: file:///svn/phpbb/trunk@7646 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 04505d07f0..98d852737e 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1409,6 +1409,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'S_UNREAD_POST' => $post_unread,
'S_FIRST_UNREAD' => $s_first_unread,
'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false,
+ 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
'S_IGNORE_POST' => ($row['hide_post']) ? true : false,
'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',