Debug v17

This commit is contained in:
Laurent Destailleur 2022-11-15 13:09:17 +01:00
parent cacce73d9a
commit 4280b8bc02

View File

@ -339,11 +339,9 @@ class FormTicket
// Subject // Subject
if ($this->withtitletopic) { if ($this->withtitletopic) {
print '<tr><td><label for="subject"><span class="fieldrequired">'.$langs->trans("Subject").'</span></label></td><td>'; print '<tr><td><label for="subject"><span class="fieldrequired">'.$langs->trans("Subject").'</span></label></td><td>';
// Answer to a ticket : display of the thread title in readonly // Answer to a ticket : display of the thread title in readonly
if ($this->withtopicreadonly) { if ($this->withtopicreadonly) {
print $langs->trans('SubjectAnswerToTicket').' '.$this->topic_title; print $langs->trans('SubjectAnswerToTicket').' '.$this->topic_title;
print '</td></tr>';
} else { } else {
if (isset($this->withreadid) && $this->withreadid > 0) { if (isset($this->withreadid) && $this->withreadid > 0) {
$subject = $langs->trans('SubjectAnswerToTicket').' '.$this->withreadid.' : '.$this->topic_title.''; $subject = $langs->trans('SubjectAnswerToTicket').' '.$this->withreadid.' : '.$this->topic_title.'';
@ -351,8 +349,8 @@ class FormTicket
$subject = GETPOST('subject', 'alpha'); $subject = GETPOST('subject', 'alpha');
} }
print '<input class="text minwidth500" id="subject" name="subject" value="'.$subject.'" autofocus />'; print '<input class="text minwidth500" id="subject" name="subject" value="'.$subject.'" autofocus />';
print '</td></tr>';
} }
print '</td></tr>';
} }
if (!empty($conf->knowledgemanagement->enabled)) { if (!empty($conf->knowledgemanagement->enabled)) {