From 7ecb313798d8f206eb48afcd93b3b1c3c71f8d8c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 14 Dec 2013 15:26:22 +0100 Subject: [PATCH] Fix: [ bug #1175 ] lien incorrect dans l'onglet Note d'un tiers --- htdocs/societe/note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/note.php b/htdocs/societe/note.php index 9605106aec6..1928ba914a0 100644 --- a/htdocs/societe/note.php +++ b/htdocs/societe/note.php @@ -33,7 +33,7 @@ $action = GETPOST('action'); $langs->load("companies"); // Security check -$id = GETPOST('id','int'); +$id = GETPOST('id')?GETPOST('id','int'):GETPOST('socid','int'); if ($user->societe_id) $id=$user->societe_id; $result = restrictedArea($user, 'societe', $id, '&societe');