mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix Un-Delete label on Save button for new infologs
This commit is contained in:
parent
8f6f417a9e
commit
69fea7dc9c
@ -1995,7 +1995,7 @@ class infolog_ui
|
||||
$readonlys['action'] = true;
|
||||
}
|
||||
// ToDo: use the old status before the delete
|
||||
if ($undelete)
|
||||
if ($info_id && $undelete)
|
||||
{
|
||||
$content['info_status'] = $this->bo->status['defaults'][$content['info_type']];
|
||||
$this->tmpl->setElementAttribute('button[save]', 'label', 'Un-Delete');
|
||||
|
Loading…
Reference in New Issue
Block a user