bernd

bernd commited on 2009-09-14 18:32:17
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1468 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -62,7 +62,7 @@ function set_mysql_access($db, $account, $status)
62 62
       logger(LOG_ERR, "modules/mysql/include/mysql", "mysql", "cannot find database {$db}");
63 63
       system_failure("cannot find database »{$db}«");
64 64
     }
65
-    $result = db_query("SELECT id FROM misc.mysql_database WHERE username='{$account}' AND useraccount={$uid} LIMIT 1");
65
+    $result = db_query("SELECT id FROM misc.mysql_accounts WHERE username='{$account}' AND useraccount={$uid} LIMIT 1");
66 66
     if (mysql_num_rows($result) != 1)
67 67
     {
68 68
       logger(LOG_ERR, "modules/mysql/include/mysql", "mysql", "cannot find user {$account}");
69 69