Merge pull request #20239 from eileenmcnaughton/act
[civicrm-core.git] / CRM / Admin / Page / AJAX.php
index 2072b2b68716aba3cca34e77bf5eb42fed6e2af8..d47b9caf05563f1198b6a8b8ba47fe20b8621cac 100644 (file)
@@ -380,7 +380,7 @@ class CRM_Admin_Page_AJAX {
         }
       }
       else {
-        $hasChildTags = empty($childTagIDs[$dao->id]) ? FALSE : TRUE;
+        $hasChildTags = !empty($childTagIDs[$dao->id]);
         $usedFor = (array) explode(',', $dao->used_for);
         $tag = [
           'id' => $dao->id,