diff options
author | Tom Beddard <subblue@users.sourceforge.net> | 2006-02-04 23:02:38 +0000 |
---|---|---|
committer | Tom Beddard <subblue@users.sourceforge.net> | 2006-02-04 23:02:38 +0000 |
commit | 05235d3452c067894acc53c753bdb0929600b48f (patch) | |
tree | 8b6ab90c7792b47828639ea3c3954a1c6afc7a9f /phpBB/memberlist.php | |
parent | 0e0e36a86f8c53c4556357ff3815bc991cd1cadf (diff) | |
download | forums-05235d3452c067894acc53c753bdb0929600b48f.tar forums-05235d3452c067894acc53c753bdb0929600b48f.tar.gz forums-05235d3452c067894acc53c753bdb0929600b48f.tar.bz2 forums-05235d3452c067894acc53c753bdb0929600b48f.tar.xz forums-05235d3452c067894acc53c753bdb0929600b48f.zip |
Changed url target method for BBcode help links and fixed undefined index bug
git-svn-id: file:///svn/phpbb/trunk@5523 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index f23543ea89..aeab9580c9 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -907,7 +907,10 @@ switch ($mode) $rank_title = $rank_img = $rank_img_src = ''; if ($group_row['group_rank'] != -1) { - $rank_title = $ranks['special'][$group_row['group_rank']]['rank_title']; + if (isset($ranks['special'][$group_row['group_rank']])) + { + $rank_title = $ranks['special'][$group_row['group_rank']]['rank_title']; + } $rank_img = (!empty($ranks['special'][$group_row['group_rank']]['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $ranks['special'][$group_row['group_rank']]['rank_image'] . '" border="0" alt="' . $ranks['special'][$group_row['group_rank']]['rank_title'] . '" title="' . $ranks['special'][$group_row['group_rank']]['rank_title'] . '" /><br />' : ''; $rank_img_src = (!empty($ranks['special'][$group_row['group_rank']]['rank_image'])) ? $config['ranks_path'] . '/' . $ranks['special'][$group_row['group_rank']]['rank_image'] : ''; } |