Do not give an error about selecting contacts when there is no action.

This commit is contained in:
Nathan Gray 2015-09-21 21:41:04 +00:00
parent 741e6e02af
commit 999b9f8724

View File

@ -135,7 +135,7 @@ class addressbook_ui extends addressbook_bo
$content['nm']['action'] = 'document'; $content['nm']['action'] = 'document';
$content['nm']['selected'] = array($id); $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') if (!count($content['nm']['selected']) && !$content['nm']['select_all'] && $content['nm']['action'] != 'delete_list')
{ {