Browse code

auch ohne vergebene Rechte soll gespeichert werden

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

bernd authored on02/11/2007 16:26:01
Showing1 changed files
... ...
@@ -65,7 +65,7 @@ if (isset($_GET['action']))
65 65
 $dbs = get_mysql_databases($_SESSION['userinfo']['uid']);
66 66
 $users = get_mysql_accounts($_SESSION['userinfo']['uid']);
67 67
 
68
-if (isset($_POST['access']))
68
+if (isset($_POST['accesseditor']))
69 69
 {
70 70
   check_form_token('mysql_databases');
71 71
   /* Eine neue Datenbank */
... ...
@@ -141,7 +141,7 @@ if ($output_something)
141 141
     $form .= '<td style="text-align: center;"><input type="checkbox" id="new_'.$user.'" name="access[new][]" value="'.$user.'" /></td>';
142 142
   $form .= '</tr>
143 143
   </table>
144
-  <p><input type="submit" value="Speichern" /></p>';
144
+  <p><input type="submit" name="accesseditor" value="Speichern" /></p>';
145 145
 
146 146
   
147 147
   output(html_form('mysql_databases', 'databases.php', '', $form));