diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-10-26 21:50:43 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-10-26 21:50:43 +0200 |
commit | 28fd9457e9c954dcaa956be58b6bc3d016800d2b (patch) | |
tree | 51873fb60859012f03c0df013f0f23f270807a1a /phpBB/includes | |
parent | 6a7ed40b0500a79bd63679d22f67aa1762d95fde (diff) | |
parent | 813a55b01d5a81559d8b2d8fab45a4c6157a222a (diff) | |
download | forums-28fd9457e9c954dcaa956be58b6bc3d016800d2b.tar forums-28fd9457e9c954dcaa956be58b6bc3d016800d2b.tar.gz forums-28fd9457e9c954dcaa956be58b6bc3d016800d2b.tar.bz2 forums-28fd9457e9c954dcaa956be58b6bc3d016800d2b.tar.xz forums-28fd9457e9c954dcaa956be58b6bc3d016800d2b.zip |
Merge pull request #5695 from 3D-I/ticket/16161
[ticket/16161] Enable BBcodes without closing tag
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_bbcodes.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php index 56079061ce..bd8df6a63b 100644 --- a/phpBB/includes/acp/acp_bbcodes.php +++ b/phpBB/includes/acp/acp_bbcodes.php @@ -211,11 +211,6 @@ class acp_bbcodes $test = $data['bbcode_tag']; } - if (!preg_match('%\\[' . $test . '[^]]*].*?\\[/' . $test . ']%s', $bbcode_match)) - { - trigger_error($user->lang['BBCODE_OPEN_ENDED_TAG'] . adm_back_link($this->u_action), E_USER_WARNING); - } - if (strlen($data['bbcode_tag']) > 16) { trigger_error($user->lang['BBCODE_TAG_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING); |