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

This commit is contained in:
Ralf Becker 2013-01-29 14:56:03 +00:00
parent 7ff829cdfd
commit 2d503a7089

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();