Fix undelete in list view

This commit is contained in:
Nathan Gray 2011-06-09 14:24:12 +00:00
parent 27572ba4cf
commit b2d8804275

View File

@ -571,7 +571,7 @@ class calendar_uilist extends calendar_ui
if ($id && ($event = $this->bo->read($id, $recur_date)) && $this->bo->check_perms(EGW_ACL_EDIT,$id) && if ($id && ($event = $this->bo->read($id, $recur_date)) && $this->bo->check_perms(EGW_ACL_EDIT,$id) &&
is_array($event) && $event['deleted']) is_array($event) && $event['deleted'])
{ {
$event['deleted'] = false; $event['deleted'] = null;
if($this->bo->save($event)) if($this->bo->save($event))
{ {
$success++; $success++;