INFRA-132 - Put space after flow-control (if/switch/for/foreach/while)
[civicrm-core.git] / CRM / Core / BAO / Block.php
index 4d45db3347f574c0fa5f60ff561c250ebaa32a68..93ac3a3d9831786fc6746497a71cb3af5c61cff0 100644 (file)
@@ -468,7 +468,7 @@ class CRM_Core_BAO_Block {
       $sql = "UPDATE $table SET is_primary = 0 WHERE contact_id = %1";
       $sqlParams = array(1 => array($contactId, 'Integer'));
       // we don't want to create unecessary entries in the log_ tables so exclude the one we are working on
-      if(!empty($params['id'])){
+      if (!empty($params['id'])){
         $sql .= " AND id <> %2";
         $sqlParams[2] = array($params['id'], 'Integer');
       }