Index: branches/RC/core/units/users/users_event_handler.php =================================================================== diff -u -N -r11294 -r11329 --- branches/RC/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 11294) +++ branches/RC/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 11329) @@ -57,6 +57,10 @@ $object->addFilter('status_filter', '%1$s.Status = '.STATUS_ACTIVE); } + if ($event->Special == 'online') { + $object->addFilter('online_users_filter', 's.PortalUserId IS NOT NULL'); + } + if ($event->Special == 'group') { $group_id = $this->Application->GetVar('g_id'); if ($group_id !== false) {