Add: allow edit player's entercode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user