From 8002af752683cf055e792a45394cb4ffc627daeb Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 12 Jan 2015 00:11:45 +0700 Subject: [ticket/13492] Add the migration to update custom bbcodes with IDN regexps Also fix the $utf8 checking regexp removing the curly braces. PHPBB3-13492 --- phpBB/includes/acp/acp_bbcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/acp/acp_bbcodes.php') 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(); -- cgit v1.2.1