fix upload in doc_generic_reception_odt.modules.php (#35794)

This commit is contained in:
Frédéric FRANCE 2025-10-17 00:45:34 +02:00 committed by GitHub
parent cc22f978cd
commit c6dd95e6d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ class doc_generic_reception_odt extends ModelePdfReception
$form = new Form($this->db);
$texte = $this->description.".<br>\n";
$texte .= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
$texte .= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST" enctype="multipart/form-data">';
$texte .= '<input type="hidden" name="token" value="'.newToken().'">';
$texte .= '<input type="hidden" name="page_y" value="">';
$texte .= '<input type="hidden" name="action" value="setModuleOptions">';