Fix PreParser::cacheURLBBCodes()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 6 Apr 2015 01:53:26 +0000 (03:53 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 6 Apr 2015 01:57:40 +0000 (03:57 +0200)
Use proper name in StringStack.

wcfsetup/install/files/lib/system/bbcode/PreParser.class.php

index 2ab116e16cac44629f0c115b9994ee903bbdd429..de6194ebcf69f0c93e3c28f99b6935fc410f574a 100644 (file)
@@ -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").']';
                        });
                }