mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Do not count none egroupware participants in Calendar category report
This commit is contained in:
parent
4f922d1eae
commit
59dbdfba21
@ -91,9 +91,8 @@ class calendar_category_report extends calendar_ui{
|
||||
{
|
||||
foreach ($event['participants'] as $user_id => $status)
|
||||
{
|
||||
// if the participant has not accepted the event or not a chair
|
||||
// skip it.
|
||||
if (!($status == 'A' || $status == 'ACHAIR')) continue;
|
||||
// if the participant has not accepted the event, not a chair or not an user then skip.
|
||||
if (!($status == 'A' || $status == 'ACHAIR') || preg_match('/^(.*<)?([a-z0-9_.-]+@[a-z0-9_.-]{5,})>?$/i',$user_id)) continue;
|
||||
|
||||
$categories = explode(',', $event['category']);
|
||||
if (!in_array($cat_id, $categories)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user