From 2d922fc82a465b9f408cb1618f783cc6492122b5 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 30 Jun 2003 15:54:31 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20secu=20acc=E9s=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/htdocs/societe.php b/htdocs/societe.php index 7a86a732567..f9a4675a831 100644 --- a/htdocs/societe.php +++ b/htdocs/societe.php @@ -24,6 +24,16 @@ require("./lib/webcal.class.php3"); require("./cactioncomm.class.php3"); require("./actioncomm.class.php3"); +/* + * Sécurité accés client + */ +if ($user->societe_id > 0) +{ + $action = ''; + $socid = $user->societe_id; +} + + llxHeader(); $db = new Db();