Skip to content

Commit

Permalink
Fix deleting feeds through PaymentAddOn::delete_feeds().
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Nov 24, 2023
1 parent c4cf303 commit 89f88b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentAddOn.php
Expand Up @@ -664,7 +664,7 @@ public function delete_feeds( $form_id = null ) {
$feeds = $this->get_feeds( $form_id );

foreach ( $feeds as $feed ) {
$this->get_feed( $feed['ID'] );
$this->delete_feed( $feed['ID'] );
}
}
}

0 comments on commit 89f88b7

Please sign in to comment.