Fix: DB jisangs -> moty

This commit is contained in:
jisangs committed 2018-08-22 17:25:07 +09:00
1 parent 5c0e823980
commit 6fcb459550
45 files changed
+141 -183

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ function get_maestro_id($maestroName) {
$query = "
SELECT MaestroID
FROM moty_maestro
FROM maestro
WHERE Name = ?
";
$stmt = $db_conn->prepare($query);
@@ -78,7 +78,7 @@ function login($maestroName, $password) {
$query = "
SELECT MaestroID, AccountType, ActivateStatus, AvailableActivateDateTime
FROM moty_maestro
FROM maestro
WHERE Name = ? AND Password = PASSWORD(?)
";
$stmt = $db_conn->prepare($query);