From 961e6acb621f7a1c0260bf41f993f1581c3e599e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 6 Apr 2015 03:53:26 +0200 Subject: [PATCH] Fix PreParser::cacheURLBBCodes() Use proper name in StringStack. --- wcfsetup/install/files/lib/system/bbcode/PreParser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php b/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php index 2ab116e16c..de6194ebcf 100644 --- a/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php @@ -219,7 +219,7 @@ class PreParser extends SingletonFactory { (?:\[/\\1\])", Regex::DOT_ALL | Regex::IGNORE_WHITESPACE | Regex::CASE_INSENSITIVE); $callback = new Callback(function ($matches) { - return '['.StringStack::pushToStringStack(mb_substr($matches[0], 1, -1), 'preParserCode', "\0\0\0").']'; + return '['.StringStack::pushToStringStack(mb_substr($matches[0], 1, -1), 'urlBBCodes', "\0\0\0").']'; }); } -- 2.20.1