From: Tim Düsterhus Date: Mon, 6 Apr 2015 01:53:26 +0000 (+0200) Subject: Fix PreParser::cacheURLBBCodes() X-Git-Tag: 2.1.3~33 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=961e6acb621f7a1c0260bf41f993f1581c3e599e;p=GitHub%2FWoltLab%2FWCF.git Fix PreParser::cacheURLBBCodes() Use proper name in StringStack. --- 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").']'; }); }