From 257c1de4feeb23559513bf9c8c88cdd79d182995 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 21 Jun 2018 10:21:31 -0600 Subject: [PATCH] Addressbook - fix missing add action on no rows after some actions --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 121b52ae73..ec70d523f6 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -251,7 +251,6 @@ class addressbook_ui extends addressbook_bo 'is_parent' => 'group_count', 'parent_id' => 'parent_id', 'favorites' => true, - 'placeholder_actions' => array('add') ); if ($do_email) @@ -266,6 +265,7 @@ class addressbook_ui extends addressbook_bo } $sel_options['cat_id'] = array('' => lang('All categories'), '0' => lang('None')); + $content['nm']['placeholder_actions'] = array('add'); // Edit and delete list actions depends on permissions if($this->get_lists(Acl::EDIT)) {