From 69fea7dc9c9cc173fae54ba7a5f40df7315b7157 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 26 Mar 2014 14:33:03 +0000 Subject: [PATCH] Fix Un-Delete label on Save button for new infologs --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 5d9975dd20..d0766b442d 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -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');