Skip to content

Commit

Permalink
Update card.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 8, 2018
1 parent d989483 commit 3f17c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/societe/card.php
Expand Up @@ -635,7 +635,7 @@
{
$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' );
Expand Down

0 comments on commit 3f17c92

Please sign in to comment.