Merge pull request #13855 from eileenmcnaughton/activity_date_picker
[civicrm-core.git] / CRM / Contact / Import / ImportJob.php
index 565984708154bae98a9beeba1b7f39cf658c64e2..1cec44c09e8d921bd0ee454a099645086a9d838f 100644 (file)
@@ -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