0.2.0: securité (json_encode) + petite améliorations
This commit is contained in:
parent
1b7017a2ee
commit
e41129b0b7
7 changed files with 64 additions and 57 deletions
|
|
@ -91,14 +91,9 @@ if (f('add'))
|
|||
}
|
||||
|
||||
|
||||
$tpl->assign('type', f('type') ?: '');
|
||||
$tpl->assign('numero_facture', f('numero_facture') ?: '');
|
||||
$tpl->assign('date_emission', f('date_emission') ?: '');
|
||||
$tpl->assign('date_echeance', f('date_echeance') ?: '');
|
||||
$tpl->assign('reglee', f('reglee') ?: 'off');
|
||||
$tpl->assign('base_receveur', f('base_receveur') ?: '');
|
||||
$tpl->assign('client_id', f('client') ?: -1);
|
||||
$tpl->assign('membre_id', f('membre') ?: -1);
|
||||
|
||||
$designations = [];
|
||||
$prix = [];
|
||||
if (($d = f('designation')) && ($p = f('prix')))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue