From: Alexander Ebert Date: Mon, 25 Nov 2013 15:32:17 +0000 (+0100) Subject: Fixed variable X-Git-Tag: 2.0.0_RC_3~8^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92c8bcf223e3649e1f69d3a9fda925e42a5ba7e0;p=GitHub%2FWoltLab%2FWCF.git Fixed variable --- diff --git a/wcfsetup/install/files/lib/system/option/SelectOptionType.class.php b/wcfsetup/install/files/lib/system/option/SelectOptionType.class.php index 420a52e3e7..6ecd3b4e32 100644 --- a/wcfsetup/install/files/lib/system/option/SelectOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/SelectOptionType.class.php @@ -53,7 +53,7 @@ class SelectOptionType extends RadioButtonOptionType { foreach ($options as $key => $optionData) { $tmp = explode(',', $optionData); - foreach ($optionData as $item) { + foreach ($tmp as $item) { if ($item{0} == '!') { if (!empty($disableOptions)) $disableOptions .= ','; $disableOptions .= "{ value: '".$key."', option: '".mb_substr($item, 1)."' }";