Skip to content

Commit 0b860f2

Browse files
authored
gw-delay-feed-till-user-registration.php: Fixed an issue with delayed feed not processing due to missing form object data.
1 parent 8fd3967 commit 0b860f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gravity-forms/gw-delay-feed-till-user-registration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function process_feed( $user_id, $feed, $entry, $user_pass ) {
5151

5252
// Process the feed for the specified form or for all forms if no form_id is passed.
5353
if ( $feed_class && ( empty( $this->_args['form_id'] ) || rgar( $feed, 'form_id' ) == $this->_args['form_id'] ) ) {
54+
$form = GFAPI::get_form( rgar( $entry, 'form_id' ) );
5455
$feed_class->maybe_process_feed( $entry, $form );
5556
}
5657
}

0 commit comments

Comments
 (0)