Changeset 1720 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 11/27/09 15:43:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r1670 r1720 232 232 233 233 function delegate_event($params=NULL) { 234 //$ldap = CreateObject('expressoMail1_2.ldap_functions');235 //$delegated = $ldap->uid2uidnumber($_REQUEST['delegated']);236 system('echo "request[date]: '.$_REQUEST['date'].'" >>/tmp/controle'); 234 $ldap = CreateObject('expressoMail1_2.ldap_functions'); 235 $delegated = $ldap->uid2uidnumber($_REQUEST['delegated']); 236 237 237 try { 238 $this->bo->delegar($_REQUEST['delegator'],$ _REQUEST['delegated']/*$delegated*/,$_REQUEST['event']);238 $this->bo->delegar($_REQUEST['delegator'],$ldap->uid2uidnumber($_REQUEST['delegated'])/*$delegated*/,$_REQUEST['event']); 239 239 header("Location: index.php?menuaction=calendar.uicalendar.day&date=".$_REQUEST['date']); 240 240 }catch(Exception $e) { 241 241 header("Location: index.php?menuaction=calendar.uicalendar.screen_delegate_event&id_event=". $_REQUEST["event"]."&delegator=".$_REQUEST["delegator"]."&date=".$_REQUEST["date"]."&error=1"); 242 242 } 243 244 245 243 } 246 244
Note: See TracChangeset
for help on using the changeset viewer.