Skip to content

Commit

Permalink
Check if PRONAMIC_PAY_DEBUG constant is defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Apr 3, 2023
1 parent 5c9e83e commit 10c8e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/redirect-via-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

$auto_submit = true;

if ( PRONAMIC_PAY_DEBUG ) {
if ( defined( '\PRONAMIC_PAY_DEBUG' ) && \PRONAMIC_PAY_DEBUG ) {
$auto_submit = false;
}

Expand Down

0 comments on commit 10c8e53

Please sign in to comment.