From: eileen Date: Thu, 21 Mar 2019 23:54:20 +0000 (+1300) Subject: Fix php 7.2 count notice X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f547eb3a366c751161a11647f38d730f7fe950b8;p=civicrm-core.git Fix php 7.2 count notice --- diff --git a/CRM/Contact/Import/ImportJob.php b/CRM/Contact/Import/ImportJob.php index 5659847081..1cec44c09e 100644 --- a/CRM/Contact/Import/ImportJob.php +++ b/CRM/Contact/Import/ImportJob.php @@ -271,7 +271,7 @@ class CRM_Contact_Import_ImportJob { } } - if ($this->_newTagName || count($this->_tag)) { + if ($this->_newTagName || !empty($this->_tag)) { $tagAdditions = $this->_tagImportedContactsWithNewTag($contactIds, $this->_newTagName, $this->_newTagDesc