Skip to content

Commit

Permalink
CIWEMB-433: Fix extending add-on memberships when using payment.creat…
Browse files Browse the repository at this point in the history
…e API
  • Loading branch information
omarabuhussein committed Aug 7, 2023
1 parent 685e053 commit cbc7c51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CRM/MembershipExtras/Hook/Pre/MembershipEdit.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ private function parsePaymentRecordingInformation() {
*/
private function editedFromPaymentAPIContext() {
if (!empty(Civi::$statics[ExtensionUti::LONG_NAME]['paymentApiCalled'])) {
unset(Civi::$statics[ExtensionUti::LONG_NAME]['paymentApiCalled']);

return TRUE;
}

Expand Down

0 comments on commit cbc7c51

Please sign in to comment.