From 6eecf2f29a15fa15cc427bd1c84aae567270792f Mon Sep 17 00:00:00 2001
From: phf <phf@atm-consulting.fr>
Date: Thu, 28 Jan 2016 12:30:49 +0100
Subject: [PATCH] FIX filter by socid if from customer card

---
 htdocs/expedition/list.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php
index aa629955f53..8794222c88e 100644
--- a/htdocs/expedition/list.php
+++ b/htdocs/expedition/list.php
@@ -30,6 +30,7 @@ $langs->load("sendings");
 $langs->load("deliveries");
 $langs->load('companies');
 
+$socid=GETPOST('socid','int');
 // Security check
 $expeditionid = GETPOST('id','int');
 if ($user->societe_id) $socid=$user->societe_id;
-- 
GitLab