Add: allow edit player's entercode

This commit is contained in:
2019-08-18 15:34:40 +09:00
parent 1926c0e42b
commit 48d50b3f35
4 changed files with 49 additions and 31 deletions
+12
View File
@@ -319,5 +319,17 @@ class MenuCollection extends DBMethodContainer
}
*/
public function getAllowEditEntercode($maestroID) {
$query = "SELECT AllowEditEnterCode FROM maestro WHERE MaestroID = ?";
$stmt = $this->mysqli->prepare($query);
$stmt->bind_param("i", $maestroID);
$stmt->execute();
$stmt->bind_result($allowEditEntercode);
$stmt->fetch();
$stmt->close();
return $allowEditEntercode;
}
}
?>