From e8a97db717be3ec83b3dc6dfdbd9c57c37d84cdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 21 Aug 2011 13:08:31 +0200 Subject: [PATCH] Fixing fetching of optiontypes --- .../install/files/lib/acp/form/AbstractOptionListForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php index c60b0315ee..1b3df00b1c 100755 --- a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php @@ -113,7 +113,7 @@ abstract class AbstractOptionListForm extends AbstractForm { */ protected function getTypeObject($type) { if (!isset($this->typeObjects[$type])) { - $className = 'wcf\system\option\\'.StringUtil::firstCharToLowerCase($type).'OptionType'; + $className = 'wcf\system\option\\'.StringUtil::firstCharToUpperCase($type).'OptionType'; // validate class if (!class_exists($className)) { -- 2.20.1