Author: jaytraxx
Date: Wed Nov 4 10:41:19 2009
New Revision: 28252
URL:
http://www.egroupware.org/viewvc/egroupware?rev=28252&view=revLog:
make alarm content array really empty if all alarms have been stripped out due to ACL issues - otherwise one empty row will be displayed in form
Modified:
trunk/calendar/inc/class.calendar_uiforms.inc.php
Modified: trunk/calendar/inc/class.calendar_uiforms.inc.php
URL:
http://www.egroupware.org/viewvc/egroupware/trunk/calendar/inc/class.calendar_uiforms.inc.php?rev=28252&r1=28251&r2=28252&view=diff==============================================================================
--- trunk/calendar/inc/class.calendar_uiforms.inc.php (original)
+++ trunk/calendar/inc/class.calendar_uiforms.inc.php Wed Nov 4 10:41:19 2009
@@ -997,6 +997,10 @@
$readonlys['delete_alarm['.$id.']'] = !$this->bo->check_perms(EGW_ACL_EDIT,$alarm['all'] ? $event : 0,$alarm['owner']);
}
+ if (count($content['alarm']) == 1)
+ {
+ $content['alarm'] = false; // no alarms added to content array
+ }
}
else
{
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
eGroupWare-cvs mailing list
eGroupWare-cvs@...
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs