From 3f17c92aa3550b1131205e15b8c519c444821d17 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Feb 2018 13:09:21 +0100 Subject: [PATCH] Update card.php --- htdocs/societe/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 611abc9b704..d3f629952b1 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -635,7 +635,7 @@ if (empty($reshook)) { $error = $object->error; $errors = $object->errors; } - //Prevent thirdparty's emptying if a user hasn't rights $user->rights->categorie->lire + // Prevent thirdparty's emptying if a user hasn't rights $user->rights->categorie->lire (in such a case, post of 'custcats' is not defined) if(!empty($user->rights->categorie->lire)){ // Customer categories association $categories = GETPOST( 'custcats', 'array' );