Fix: allow korean maestro id
This commit is contained in:
@@ -11,7 +11,7 @@ $password = $_POST["password"];
|
||||
$maestroID = get_maestro_id($maestroName);
|
||||
if($maestroID === null) {
|
||||
set_error_code("not_registered_id");
|
||||
set_error_message("등록되지 않은 마에스트로 아이디입니다.");
|
||||
set_error_message("등록되지 않았거나 아직 승인되지 않은 마에스트로 아이디입니다.");
|
||||
send_result_fail();
|
||||
exit;
|
||||
}
|
||||
@@ -58,7 +58,7 @@ function get_maestro_id($maestroName) {
|
||||
$query = "
|
||||
SELECT MaestroID
|
||||
FROM maestro
|
||||
WHERE Name = ?
|
||||
WHERE Name = ? AND ActivateStatus = 1
|
||||
";
|
||||
$stmt = $db_conn->prepare($query);
|
||||
$stmt->bind_param("s", $maestroName);
|
||||
|
||||
Reference in New Issue
Block a user