fixed backend returning all events for freebusy query with just email addresses

This commit is contained in:
Ralf Becker 2013-01-29 14:59:29 +00:00
parent bcc6570b84
commit fd7ec9b71d

View File

@ -464,9 +464,9 @@ class calendar_so
{
$users_by_type['u'][] = (int) $user;
}
elseif (is_numeric(substr($user,1)))
else
{
$users_by_type[$user[0]][] = (int) substr($user,1);
$users_by_type[$user[0]][] = substr($user,1);
}
}
$to_or = $user_or = array();