Fixed bug RFC #12326: EXT:setup CSH mode setting gets lost (thanks to Steffen Gebert)
authorSteffen Kamper <info@sk-typo3.de>
Sun, 25 Oct 2009 14:24:06 +0000 (14:24 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sun, 25 Oct 2009 14:24:06 +0000 (14:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6275 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/setup/mod/index.php

index 5813e49..6700751 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-25  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug RFC #12326: EXT:setup CSH mode setting gets lost (thanks to Steffen Gebert)
+
 2009-10-24  Ernesto Baschny <ernst@cron-it.de>
 
        * Fixed bug #12321: Follow-up to #11586, fixes FE editing
index e5e7b2b..d18ef16 100755 (executable)
@@ -561,10 +561,10 @@ class SC_mod_user_setup_index {
                                                $html = t3lib_div::callUserFunction($config['itemsProcFunc'], $config, $this, '');
                                        } else {
                                                $html = '<select id="field_' . $fieldName . '" name="data[' . $fieldName . ']"' . $more . '>' . chr(10);
-                                               foreach ($config['items'] as $key => $value) {
+                                               foreach ($config['items'] as $key => $label) {
                                                        $html .= '<option value="' . $key . '"' .
                                                                ($value == $key ? ' selected="selected"' : '') .
-                                                               '>' . $this->getLabel($value,'',false) . '</option>' . chr(10);
+                                                               '>' . $this->getLabel($label,'',false) . '</option>' . chr(10);
                                                }
                                                $html .= '</select>';
                                        }