Merge pull request #18661 from eileenmcnaughton/blockdel
[civicrm-core.git] / CRM / Activity / BAO / Activity.php
index 60ffb77aa5dbc82587d11a0a6732ed85a616f209..8414c93660d9bc52369cc7f15430c5b935d8abd9 100644 (file)
@@ -2566,7 +2566,7 @@ INNER JOIN  civicrm_option_group grp ON (grp.id = option_group_id AND grp.name =
             }
           }
         }
-        elseif (!$values['target_contact_name']) {
+        elseif (empty($values['target_contact_name'])) {
           $activity['target_contact_name'] = '<em>n/a</em>';
         }