diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php index d0bddb30d58..20ae7061a33 100644 --- a/htdocs/comm/remise.php +++ b/htdocs/comm/remise.php @@ -127,7 +127,8 @@ if ($_socid > 0) print ""; - print "\n"; + dol_fiche_end(); + print '
'; diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php index 811bf19b42a..5893dcd16d3 100644 --- a/htdocs/comm/remx.php +++ b/htdocs/comm/remx.php @@ -33,7 +33,7 @@ $langs->load("bills"); $langs->load("companies"); // Security check -$_socid = GETPOST("id"); +$_socid = $_GET["id"]; if ($user->societe_id > 0) { $_socid = $user->societe_id;