Fix: add_player.php bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
header("Content-Type: application/json");
|
header("Content-Type: application/json");
|
||||||
|
|
||||||
include "./../lib/send_reply_json.php";
|
include "./../lib/send_reply_json.php";
|
||||||
include "./../lib/maestro_account_type.php";
|
include "./../lib/maestro_account_info.php";
|
||||||
include "./../setup/connect_db.php";
|
include "./../setup/connect_db.php";
|
||||||
|
|
||||||
$maestroID = $_POST["maestro_id"];
|
$maestroID = $_POST["maestro_id"];
|
||||||
@@ -18,7 +18,6 @@ if(!is_numeric($enterCode)) {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
$result = has_player_name($maestroID, $playerName, $enterCode);
|
$result = has_player_name($maestroID, $playerName, $enterCode);
|
||||||
if($result !== null) {
|
if($result !== null) {
|
||||||
set_error_message("이미 등록된 학생과 입장 코드 정보입니다.");
|
set_error_message("이미 등록된 학생과 입장 코드 정보입니다.");
|
||||||
|
|||||||
Reference in New Issue
Block a user