Skip to content

Commit

Permalink
PLANET-7596 Gravity forms won't send thank you pages (#2361)
Browse files Browse the repository at this point in the history
Ref: https://jira.greenpeace.org/browse/PLANET-7596

- Fixed return type for early exit from string to array
  • Loading branch information
Osong-Michael authored Sep 1, 2024
1 parent aeb619b commit 66fef01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GravityFormsExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ public function p4_gf_stripe_custom_success_event($entry, $form): array
!isset($entry['payment_status'])
|| !in_array($entry['payment_status'], $allowed)
) {
return '';
return [];
}

$tType = [
Expand Down

0 comments on commit 66fef01

Please sign in to comment.