diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 32018d525d7d..b81bc5ec3bb6 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -947,7 +947,7 @@ private function prepareStatusOverrideValues() { * the selected override option is not 'until date'. */ private function setOverrideDateValue() { - if (!CRM_Member_StatusOverrideTypes::isUntilDate($this->_params['is_override'])) { + if (!CRM_Member_StatusOverrideTypes::isUntilDate(CRM_Utils_Array::value('is_override', $this->_params))) { $this->_params['status_override_end_date'] = ''; } }