@@ -24,7 +24,9 @@ |
||
24 | 24 | glsr( Notification::class )->send( $review ); |
25 | 25 | do_action( 'site-reviews/local/review/submitted', null, $command ); // @compat |
26 | 26 | do_action( 'site-reviews/review/submitted', $review ); |
27 | - if( $command->ajax_request )return; |
|
27 | + if( $command->ajax_request ) { |
|
28 | + return; |
|
29 | + } |
|
28 | 30 | wp_safe_redirect( $this->getReferer( $command )); |
29 | 31 | exit; |
30 | 32 | } |