From bfe1ed994a831eaf81d62821bba80e324acc28ca Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 16 Mar 2011 12:03:39 +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 6f2b905de0d..82bb0075fe9 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,'');