forked from Wavyzz/dolibarr
FIX #33742
This commit is contained in:
@@ -307,6 +307,7 @@ class FormTicket
|
||||
}
|
||||
|
||||
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="action" value="'.$this->action.'">';
|
||||
if (!empty($object->id)) {
|
||||
@@ -837,7 +838,7 @@ class FormTicket
|
||||
print dol_get_fiche_end();
|
||||
}
|
||||
|
||||
print '<br>';
|
||||
print '<br><br>';
|
||||
|
||||
if ($mode == 'create') {
|
||||
print $form->buttonsSaveCancel(((isset($this->withreadid) && $this->withreadid > 0) ? "SendResponse" : "CreateTicket"), ($this->withcancel ? "Cancel" : ""));
|
||||
|
||||
Reference in New Issue
Block a user