Skip to content

Commit

Permalink
fix(form): bad URL when using advanced form validation plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 21, 2022
1 parent 70112a1 commit adb9fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ public function getTargetsFromForm() : array {
}

public function showAddTargetForm() {
echo '<form name="form_target" method="post" action="'.self::getFormURL().'">';
echo '<form name="form_target" method="post" action="'. static::getFormURL() . '">';
echo '<table class="tab_cadre_fixe">';

echo '<tr><th colspan="4">'.__('Add a target', 'formcreator').'</th></tr>';
Expand Down

0 comments on commit adb9fba

Please sign in to comment.