X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMember%2FForm%2FMembershipView.php;h=9e3d9784db02e511980e6347dcf2378dd8f17f77;hb=edc80cda6bfef2572d515c4c139d83f7556e632a;hp=9d656c52ddd3b95af5664202235d39e6fe3def46;hpb=d92edefc480455c404ab2c3da6b3c81e803be865;p=civicrm-core.git diff --git a/CRM/Member/Form/MembershipView.php b/CRM/Member/Form/MembershipView.php index 9d656c52dd..9e3d9784db 100644 --- a/CRM/Member/Form/MembershipView.php +++ b/CRM/Member/Form/MembershipView.php @@ -166,7 +166,7 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form { $this->contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this); // Make sure context is assigned to template for condition where we come here view civicrm/membership/view - $context = CRM_Utils_Request::retrieve('context', 'String', $this); + $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this); $this->assign('context', $context); if ($this->membershipID) {