From: Tim Düsterhus Date: Sun, 21 Aug 2011 11:08:31 +0000 (+0200) Subject: Fixing fetching of optiontypes X-Git-Tag: 2.0.0_Beta_1~1834^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8a97db717be3ec83b3dc6dfdbd9c57c37d84cdb;p=GitHub%2FWoltLab%2FWCF.git Fixing fetching of optiontypes --- 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)) {