* Calendar: ignore (unchangeable) status of groups for setting line-type of events: all users of a group-invitation accepted --> solid line for all accepted

This commit is contained in:
Ralf Becker 2012-11-13 09:53:06 +00:00
parent bc275bef41
commit 39e3d199fc

View File

@ -5,7 +5,7 @@
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @package calendar * @package calendar
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2004-10 by RalfBecker-At-outdoor-training.de * @copyright (c) 2004-12 by RalfBecker-At-outdoor-training.de
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$ * @version $Id$
*/ */
@ -1759,6 +1759,8 @@ function open_edit(series)
$status_class = 'calEventAllAccepted'; $status_class = 'calEventAllAccepted';
foreach($event['participants'] as $id => $status) foreach($event['participants'] as $id => $status)
{ {
if ($id < 0) continue; // as we cant accept/reject groups, we dont care about them here
calendar_so::split_status($status,$quantity,$role); calendar_so::split_status($status,$quantity,$role);
switch ($status) switch ($status)