Don't break loop if address fields not found while formatting rows in Reports
authorMonish Deb <deb.monish@gmail.com>
Thu, 28 Feb 2019 09:49:29 +0000 (15:19 +0530)
committerMonish Deb <deb.monish@gmail.com>
Thu, 28 Feb 2019 09:49:29 +0000 (15:19 +0530)
CRM/Report/Form.php

index a69e37d51e9e60a2ce780d6c0e7133a1e4286276..6fb50c2f6db59a4af3867f96da819b7bf8fd2fe9 100644 (file)
@@ -4493,8 +4493,8 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a
             $rows[$rowNum]["{$fieldName}_link"] = $url;
             $rows[$rowNum]["{$fieldName}_hover"] = ts("%1 for this %2.", array(1 => $linkText, 2 => $addressField));
           }
-          $entryFound = TRUE;
         }
+        $entryFound = TRUE;
       }
     }