stops editing of events if no permission to do so

This commit is contained in:
skeeter 2001-03-02 03:41:56 +00:00
parent bd18c2ef93
commit 16323572bd

View File

@ -56,7 +56,7 @@
$can_edit = False;
if(($cal_info->owner == $owner) || ($phpgw->calendar->check_perms(PHPGW_ACL_EDIT) == True))
if(($cal_info->owner == $owner) && ($phpgw->calendar->check_perms(PHPGW_ACL_EDIT) == True))
{
$can_edit = True;
}