partial #2183 - fix the problem that just one admin user was being returned
This commit is contained in:
parent
eaab5fac34
commit
b22c5f51f7
@ -213,7 +213,7 @@ class Crunchbutton_Notification_Log extends Cana_Table {
|
||||
$group_name = Config::getVal( Crunchbutton_Notification_Log::MAX_CALL_GROUP_KEY );
|
||||
$group = Crunchbutton_Group::byName( $group_name );
|
||||
if( $group->id_group ){
|
||||
return $group->users();
|
||||
return Crunchbutton_Admin_Group::q( "SELECT a.* FROM admin a INNER JOIN admin_group ag ON ag.id_admin = a.id_admin AND ag.id_group = {$group->id_group}" );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user