Fixed checking for metacode converters
authorAlexander Ebert <ebert@woltlab.com>
Mon, 22 Aug 2016 11:42:00 +0000 (13:42 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 22 Aug 2016 11:42:00 +0000 (13:42 +0200)
wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeWoltlabMetacode.class.php

index 7542af6d1d98215de297abcc56ac497e92545bee..4870748bf685c1f097b20fdf2b6d2567aa7b130e 100644 (file)
@@ -84,7 +84,7 @@ class HtmlInputNodeWoltlabMetacode extends AbstractHtmlInputNode {
                        // check for converters
                        $converter = isset($converters[$name]) ? $converters[$name] : null;
                        if ($converter === null) {
-                               $className = 'wcf\\system\\html\\metacode\\converter\\' . $name . 'MetacodeConverter';
+                               $className = 'wcf\\system\\html\\metacode\\converter\\' . ucfirst($name) . 'MetacodeConverter';
                                if (class_exists($className)) {
                                        $converter = new $className();