commit
28a006fff3
@ -175,7 +175,7 @@ class FormTicket
|
|||||||
print dol_get_fiche_head(null, 'card', '', 0, '');
|
print dol_get_fiche_head(null, 'card', '', 0, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<form method="POST" '.($withdolfichehead ? '' : 'style="margin-bottom: 30px;" ').'name="ticket" id="form_create_ticket" enctype="multipart/form-data" action="'.(!empty($this->param["returnurl"]) ? $this->param["returnurl"] : "").'">';
|
print '<form method="POST" '.($withdolfichehead ? '' : 'style="margin-bottom: 30px;" ').'name="ticket" id="form_create_ticket" enctype="multipart/form-data" action="'.(!empty($this->param["returnurl"]) ? $this->param["returnurl"] : $_SERVER['PHP_SELF']).'">';
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
print '<input type="hidden" name="action" value="'.$this->action.'">';
|
print '<input type="hidden" name="action" value="'.$this->action.'">';
|
||||||
foreach ($this->param as $key => $value) {
|
foreach ($this->param as $key => $value) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user