Add: allow edit player's entercode

This commit is contained in:
jisangs committed 2019-09-15 19:25:42 +09:00
1 parent 1926c0e42b
commit 48d50b3f35
4 files changed
+49 -31

No files matched your search

+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;
}
}
?>