mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 10:28:32 +03:00
Treat operators online even if they don't belong to any groups
Fixes #51
This commit is contained in:
parent
a8e98c1e08
commit
324f5bf94e
@ -478,13 +478,7 @@ function has_online_operators($group_id = "")
|
||||
. "AND istatus = 0";
|
||||
$values[':groupid'] = $group_id;
|
||||
} else {
|
||||
if (Settings::get('enablegroups') == 1) {
|
||||
$query .= ", {operatortoopgroup} "
|
||||
. "WHERE {operator}.operatorid = {operatortoopgroup}.operatorid "
|
||||
. "AND istatus = 0";
|
||||
} else {
|
||||
$query .= " WHERE istatus = 0";
|
||||
}
|
||||
$query .= " WHERE istatus = 0";
|
||||
}
|
||||
|
||||
$row = $db->query(
|
||||
|
Loading…
Reference in New Issue
Block a user