Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohn committed Jun 23, 2024
1 parent dd9ba23 commit 6e239b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/classes/gui/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function actions($btn_txt='Submit', $btn_class='btn btn-outline-primary',
}
$this->form .= '<div id="'.$results_id.'"></div>
<input type="hidden" name="form_id" value="'.$this->form_id.'" id="form-id-'.$this->form_id.'">
<input type="hidden" name="token" value="'.$_SESSION['token'].'" id="'.$this->form_id.'-token">
<input type="hidden" name="token" value="'.$_SESSION['token'][$this->form_id].'" id="'.$this->form_id.'-token">
<div class="'.$div_classes.'">
'.$b4_btn
.$this->html_builders->create_button('', $this->form_id.'-btn',
Expand Down

0 comments on commit 6e239b6

Please sign in to comment.