aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_bbcodes.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2015-01-12 00:11:45 +0700
committerrxu <rxu@mail.ru>2015-01-20 08:47:56 +0700
commit8002af752683cf055e792a45394cb4ffc627daeb (patch)
tree627cb4dcac3cdd7d08b768bc1568edbc4443c64d /phpBB/includes/acp/acp_bbcodes.php
parent17f4dce0fc2bb1105a3181ccd7a4119f40191c2b (diff)
downloadforums-8002af752683cf055e792a45394cb4ffc627daeb.tar
forums-8002af752683cf055e792a45394cb4ffc627daeb.tar.gz
forums-8002af752683cf055e792a45394cb4ffc627daeb.tar.bz2
forums-8002af752683cf055e792a45394cb4ffc627daeb.tar.xz
forums-8002af752683cf055e792a45394cb4ffc627daeb.zip
[ticket/13492] Add the migration to update custom bbcodes with IDN regexps
Also fix the $utf8 checking regexp removing the curly braces. PHPBB3-13492
Diffstat (limited to 'phpBB/includes/acp/acp_bbcodes.php')
-rw-r--r--phpBB/includes/acp/acp_bbcodes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php
index 2686be64e0..e245eea069 100644
--- a/phpBB/includes/acp/acp_bbcodes.php
+++ b/phpBB/includes/acp/acp_bbcodes.php
@@ -411,7 +411,7 @@ class acp_bbcodes
$bbcode_tpl = trim($bbcode_tpl);
// Allow unicode characters for URL|LOCAL_URL|RELATIVE_URL|INTTEXT tokens
- $utf8 = preg_match('/\{(URL|LOCAL_URL|RELATIVE_URL|INTTEXT)\}/', $bbcode_match);
+ $utf8 = preg_match('/(URL|LOCAL_URL|RELATIVE_URL|INTTEXT)/', $bbcode_match);
$utf8_pcre_properties = phpbb_pcre_utf8_support();