Merge pull request #14536 from civicrm/5.15
[civicrm-core.git] / CRM / Friend / Form.php
index 70cd21086dc5109a098aaee6f2fedca8f44f01ff..4509acd993377f7c524565a73b6d7279d99d51d2 100644 (file)
@@ -129,7 +129,6 @@ class CRM_Friend_Form extends CRM_Core_Form {
       while ($pcp->fetch()) {
         $this->_title = $pcp->title;
         $this->_campaignId = $pcp->campaign_id;
-        $pcp->free();
       }
 
       $this->assign('pcpTitle', $this->_title);