From 66200f722ba51f620eccdc864b15bcbddf86e7bb Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 28 Dec 2015 16:42:48 +0000 Subject: [PATCH] Do not add deleted type to Add or change menus --- infolog/inc/class.infolog_ui.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index dff53bd1c2..16560d750e 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1041,6 +1041,8 @@ class infolog_ui // Types $types = $this->get_validtypes(); $types_add = array(); + // Do not add deleted type to add or change menus + unset($types['delete']); foreach($types as $type => &$data) { if ($type=='email') continue;//requirement by sales that it should not be shown in right - click - action dialog