From 61c9a71df126f0105f358243836ae3168306dfdf Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 10 Mar 2006 18:45:42 +0000 Subject: [PATCH] bugfix --- htdocs/socnote.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/socnote.php b/htdocs/socnote.php index 58e14c815e7..0ad300b46df 100644 --- a/htdocs/socnote.php +++ b/htdocs/socnote.php @@ -34,7 +34,7 @@ $langs->load("companies"); // Protection quand utilisateur externe $socidp = isset($_GET["socid"])?$_GET["socid"]:''; -if ($socidp == '') accessforbidden(); +//if ($socidp == '') accessforbidden(); //problème après update des notes if ($user->societe_id > 0) { @@ -60,7 +60,6 @@ if ($_POST["action"] == 'add') { $result = $db->query($sql); $_GET["socid"]=$_POST["socid"]; // Pour retour sur fiche - Header("Location:socnote.php?socid=".$socid); }