mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 12:01:48 +02:00
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
This commit is contained in:
@@ -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'] : '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user