diff options
| -rw-r--r-- | phpBB/includes/acp/acp_bbcodes.php | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php index 84dbbf02ba..5e39055f50 100644 --- a/phpBB/includes/acp/acp_bbcodes.php +++ b/phpBB/includes/acp/acp_bbcodes.php @@ -207,7 +207,10 @@ class acp_bbcodes  						$db->sql_freeresult($result);  						// Grab the end, interrogate the last closing tag -						if ($info['test'] === '1' || in_array(strtolower($data['bbcode_tag']), $hard_coded) || (preg_match('#\[/([^[]*)]$#', $bbcode_match, $regs) && in_array(strtolower($regs[1]), $hard_coded))) +						if (isset($info['test']) && $info['test'] === '1' +							|| in_array(strtolower($data['bbcode_tag']), $hard_coded) +							|| (preg_match('#\[/([^[]*)]$#', $bbcode_match, $regs) && in_array(strtolower($regs[1]), $hard_coded)) +						)  						{  							trigger_error($user->lang['BBCODE_INVALID_TAG_NAME'] . adm_back_link($this->u_action), E_USER_WARNING);  						} | 
