Fix priceset widget on Membership tab
authorJitendra Purohit <jitendra@fuzion.co.nz>
Tue, 27 Apr 2021 05:14:55 +0000 (10:44 +0530)
committerJitendra Purohit <jitendra@fuzion.co.nz>
Tue, 27 Apr 2021 05:14:55 +0000 (10:44 +0530)
CRM/Member/Form/MembershipBlock.php

index 49433bd8388311021d071a04c3dd4e243da9623b..99ef355617b3f85beda353836d7e73d788cec8e0 100644 (file)
@@ -174,7 +174,7 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa
     //$this->add('select', 'member_price_set_id', ts('Membership Price Set'), (['' => ts('- none -')] + $price));
 
     $this->addField('member_price_set_id', [
-      'entity' => 'PriceSet',
+      'entity' => 'PriceField',
       'name' => 'price_set_id',
       'options' => $price,
     ]);