Fix: uniformize code
This commit is contained in:
parent
cd23f8a040
commit
a5969db28b
@ -36,9 +36,9 @@ $langs->load("suppliers");
|
|||||||
|
|
||||||
$mesg='';
|
$mesg='';
|
||||||
|
|
||||||
$id = GETPOST('id');
|
$id = GETPOST('id','int');
|
||||||
$action = GETPOST('action');
|
$action = GETPOST('action','alpha');
|
||||||
$confirm = GETPOST('confirm');
|
$confirm = GETPOST('confirm','alpha');
|
||||||
|
|
||||||
$object = new PaiementFourn($db);
|
$object = new PaiementFourn($db);
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ $form = new Form($db);
|
|||||||
|
|
||||||
$h=0;
|
$h=0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/fiche.php?id='.$id;
|
$head[$h][0] = $_SERVER['PHP_SELF'].'?id='.$id;
|
||||||
$head[$h][1] = $langs->trans('Card');
|
$head[$h][1] = $langs->trans('Card');
|
||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
@ -338,7 +338,7 @@ else
|
|||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
$db->close();
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
?>
|
|
||||||
|
$db->close();
|
||||||
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user