Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-2.25' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Mar 17, 2021
2 parents fee1256 + 623c74b commit 4a4c8f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/print_api.php
Expand Up @@ -1447,7 +1447,6 @@ function print_form_button( $p_action_page, $p_label, array $p_args_to_post = nu
# instead of via $p_action_page (GET). Then only add the CSRF form token if
# arguments are being sent via the POST method.
echo '<form method="post" action="', htmlspecialchars( $p_action_page ), '" class="form-inline inline single-button-form">';
echo '<fieldset>';
if( $p_security_token !== OFF ) {
echo form_security_field( $t_form_name[0], $p_security_token );
}
Expand All @@ -1460,7 +1459,6 @@ function print_form_button( $p_action_page, $p_label, array $p_args_to_post = nu
if( $p_args_to_post ) {
print_hidden_inputs( $p_args_to_post );
}
echo '</fieldset>';
echo '</form>';
}

Expand Down

0 comments on commit 4a4c8f1

Please sign in to comment.