diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index b586a77576..60f6a3e5df 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1995,8 +1995,11 @@ class infolog_ui $readonlys['action'] = true; } // ToDo: use the old status before the delete - if ($undelete) $content['info_status'] = $this->bo->status['defaults'][$content['info_type']]; - + if ($undelete) + { + $content['info_status'] = $this->bo->status['defaults'][$content['info_type']]; + $this->tmpl->setElementAttribute('button[save]', 'label', 'Un-Delete'); + } if (!($readonlys['button[delete]'] = !$info_id || !$this->bo->check_access($info_id,EGW_ACL_DELETE))) {