X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FSearch%2FCustom%2FFullText%2FMembership.php;h=250aeb044afada26bcf33cb4992c41a2649541b3;hb=cd5823ae452708e6d0a5fb899b2c3eb3f63be640;hp=aea55a1bbf6a00182b0d4a846f8e10b448e773ff;hpb=4b62bc4f72abfa7db070eb16c343ac6c31a5c7d4;p=civicrm-core.git diff --git a/CRM/Contact/Form/Search/Custom/FullText/Membership.php b/CRM/Contact/Form/Search/Custom/FullText/Membership.php index aea55a1bbf..250aeb044a 100644 --- a/CRM/Contact/Form/Search/Custom/FullText/Membership.php +++ b/CRM/Contact/Form/Search/Custom/FullText/Membership.php @@ -41,6 +41,9 @@ class CRM_Contact_Form_Search_Custom_FullText_Membership extends CRM_Contact_For parent::__construct('Membership', ts('Memberships')); } + /** + * @return bool + */ public function isActive() { $config = CRM_Core_Config::singleton(); return in_array('CiviMember', $config->enableComponents) &&