Skip to content

Commit

Permalink
Fix _gf_after_submission early return like it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Aug 21, 2020
1 parent 690911b commit cf295f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Pods_GF.php
Original file line number Diff line number Diff line change
Expand Up @@ -4284,7 +4284,7 @@ public function _gf_entry_post_save( $lead, $form ) {
*/
public function _gf_after_submission( $entry, $form ) {

if ( empty( $this->gf_validation_message ) ) {
if ( ! empty( $this->gf_validation_message ) ) {
return $entry;
}

Expand Down

0 comments on commit cf295f1

Please sign in to comment.