FIX Bug Dynamic id (#33980)

This commit is contained in:
Clément 2025-04-26 01:17:09 +02:00 committed by GitHub
parent 849409f150
commit 13b080fffc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -930,7 +930,7 @@ if ($action == 'create' || $action == 'presend') {
$morehtmlref .= '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
$morehtmlref .= '<input type="hidden" name="action" value="setsubject">';
$morehtmlref .= '<input type="hidden" name="token" value="'.newToken().'">';
$morehtmlref .= '<input type="hidden" name="id" value="20">';
$morehtmlref .= '<input type="hidden" name="id" value="'.$object->id.'">';
$morehtmlref .= '<input type="text" class="minwidth300" id="subject" name="subject" value="'.$object->subject.'" autofocus="">';
$morehtmlref .= '<input type="submit" class="smallpaddingimp button valignmiddle" name="modify" value="'.$langs->trans("Modify").'">';
$morehtmlref .= '<input type="submit" class="smallpaddingimp button button-cancel vlignmiddle" name="cancel" value="'.$langs->trans("Cancel").'">';