2
0
forked from Wavyzz/dolibarr
This commit is contained in:
ldestailleur
2025-04-07 12:53:19 +02:00
parent 8ad1bf580f
commit d77898ff3d
2 changed files with 3 additions and 2 deletions

View File

@@ -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" : ""));