Add: allow edit player's entercode
This commit is contained in:
1 parent
1926c0e42b
commit
48d50b3f35
4 files changed
+49
-31
No files matched your search
@@ -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