Suppression paramètre prop inutile

This commit is contained in:
Jean-Christophe Engel 2024-12-09 16:50:09 +01:00
parent edcecfd9e2
commit 75447396c4
10 changed files with 12 additions and 15 deletions

View file

@ -3,7 +3,6 @@
{{*
paramètres :
- key : clé du matériel à modifier
- prop : = 1 si matériel propriété de l'asso
TODO : simplifier
*}}
@ -107,7 +106,7 @@
date=$_POST.date|parse_date
comment=$_POST.remarques|trim
}}
{{:redirect force="../../historique.html?ok=1&key=%s&prop=%s&msg=sortie"|args:$_GET.key:$_GET.prop}}
{{:redirect force="../../historique.html?ok=1&key=%s&prop=0&msg=sortie"|args:$_GET.key}}
{{else}}
{{:form_errors}}
{{/form}}