From 4a7529f0e17e533d4f9e3e3530a739c3061aa5dc Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 14 Nov 2005 21:23:15 +0000 Subject: [PATCH] =?UTF-8?q?petit=20bugfix=20tout=20b=E8te=20:=20quand=20on?= =?UTF-8?q?=20est=20sur=20la=20page=20d'une=20societ=E9=20(dolibarr/htdocs?= =?UTF-8?q?/comm/fiche.php=3Fsocid=3DXX),=20si=20on=20clique=20sur=20le=20?= =?UTF-8?q?lien=20"Toutes=20les=20interventions=20(NN)"=20(dolibarr/htdocs?= =?UTF-8?q?/fichinter/index.php=3Fsocidp=3D34),=20on=20ne=20r=E9cup=E8re?= =?UTF-8?q?=20pas=20la=20liste=20des=20interventions=20limit=E9e=20=E0=20l?= =?UTF-8?q?a=20soci=E9t=E9=20en=20question.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ALERTE : je ne sais pas à quoi servent les 4 lignes suivantes (début de script), je soupconnerai que c'est un résidu d'un truc qui ne sert plus. Quoi qu'il en soit, ca ne semble pas utile chez moi, mais je l'ai laissé aucazou if ($user->societe_id > 0) { $socid = $user->societe_id ; } --- htdocs/fichinter/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/index.php b/htdocs/fichinter/index.php index e58b60df067..c7ac30f759c 100644 --- a/htdocs/fichinter/index.php +++ b/htdocs/fichinter/index.php @@ -38,11 +38,11 @@ if ($user->societe_id > 0) $socid = $user->societe_id ; } - llxHeader(); $sortorder=$_GET["sortorder"]?$_GET["sortorder"]:$_POST["sortorder"]; $sortfield=$_GET["sortfield"]?$_GET["sortfield"]:$_POST["sortfield"]; +$socid=$_GET["socidp"]?$_GET["socidp"]:$_POST["socidp"]; if (! $sortorder) $sortorder="DESC"; if (! $sortfield) $sortfield="f.datei";