Browse code

passwort-ändern wieder repariert

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1142 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on22/08/2008 08:37:19
Showing1 changed files
... ...
@@ -153,8 +153,14 @@ if ($output_something)
153 153
   $users = get_mysql_accounts($_SESSION['userinfo']['uid']);
154 154
 
155 155
 
156
+
157
+  $my_users = array();
158
+  foreach ($users as $u)
159
+  {
160
+    $my_users[$u] = $u;
161
+  }
156 162
   $form = '<div>
157
-  <label for="mysql_username">Benutzername:</label>&#160;'.html_select('mysql_username', $users).'
163
+  <label for="mysql_username">Benutzername:</label>&#160;'.html_select('mysql_username', $my_users).'
158 164
   &#160;&#160;&#160;
159 165
   <label for="password">Passwort:</label>&#160;<input type="password" name="mysql_password" id="password" />
160 166
   &#160;&#160;<input type="submit" value="Setzen" />