From 999b9f87241bd5447d9fe69a49224b4b18b3d5be Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 21 Sep 2015 21:41:04 +0000 Subject: [PATCH] Do not give an error about selecting contacts when there is no action. --- 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 966d47fb8c..37504a97a1 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -135,7 +135,7 @@ class addressbook_ui extends addressbook_bo $content['nm']['action'] = 'document'; $content['nm']['selected'] = array($id); } - if ($content['nm']['action'] !== '') + if ($content['nm']['action'] !== '' && $content['nm']['action'] !== null) { if (!count($content['nm']['selected']) && !$content['nm']['select_all'] && $content['nm']['action'] != 'delete_list') {