Add: moty_player - AccountType 0:player, 1:maestro
This commit is contained in:
@@ -22,7 +22,11 @@ exit;
|
||||
function getPlayerCount($maestroID) {
|
||||
global $db_conn;
|
||||
|
||||
$query = "SELECT COUNT(PlayerID) FROM moty_player WHERE MaestroID=?";
|
||||
$query = "
|
||||
SELECT COUNT(PlayerID)
|
||||
FROM moty_player
|
||||
WHERE MaestroID = ? AND AccountType <> 1
|
||||
";
|
||||
$stmt = $db_conn->prepare($query);
|
||||
$stmt->bind_param("i", $maestroID);
|
||||
$stmt->execute();
|
||||
|
||||
Reference in New Issue
Block a user