Fix undefined variable warning
authorColeman Watts <coleman@civicrm.org>
Tue, 16 Sep 2014 01:36:20 +0000 (21:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 16 Sep 2014 01:36:20 +0000 (21:36 -0400)
CRM/Profile/Page/MultipleRecordFieldsListing.php

index 9e34a82d138e57ad3c3edba82d88b885d0600c9c..5c52067bfd57029025c6bf29c1d5f300282bf783 100644 (file)
@@ -172,6 +172,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic {
    */
   function browse() {
     $dateFields = NULL;
+    $cgcount = 0;
     $dateFieldsVals = NULL;
     if ($this->_pageViewType == 'profileDataView' && $this->_profileId) {
       $fields = CRM_Core_BAO_UFGroup::getFields($this->_profileId, FALSE, NULL,