From 964abbee281f2cef07c3671ec5a16211c2a2eda7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Mar 2021 13:52:08 +0100 Subject: [PATCH] aaa --- htdocs/product/note.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/product/note.php b/htdocs/product/note.php index 1487c3fcf1c..abe27e093f1 100644 --- a/htdocs/product/note.php +++ b/htdocs/product/note.php @@ -35,13 +35,12 @@ $langs->load("companies"); $id = GETPOST('id', 'int'); $ref = GETPOST('ref', 'alpha'); -$action = GETPO ST('action','aZ09'); +$action = GETPO ST('action', 'aZ09'); // Security check $fieldvalue = (!empty($id) ? $id : (!empty($ref) ? $ref : '')); $fieldtype = (!empty($ref) ? 'ref' : 'rowid'); -if ($user->socid) -{ +if ($user->socid) { $socid = $user->socid; } $result = restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype);