From eaf3e2a3ecebcdaad6e30c5f63a2ee9a2b1d55b4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 16 Mar 2011 12:04:51 +0000 Subject: [PATCH] Fix: missing socid --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 5fd122a8513..6aaa13f54ec 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -54,7 +54,7 @@ $comid = GETPOST("id"); if (empty($comid)) $comid=GETPOST("orderid"); // Security check -$socid=0; +$socid=GETPOST('socid'); if ($user->societe_id) $socid=$user->societe_id; $result=restrictedArea($user,'commande',$comid,'');