Update card.php
This commit is contained in:
parent
d989483d2b
commit
3f17c92aa3
@ -635,7 +635,7 @@ if (empty($reshook))
|
|||||||
{
|
{
|
||||||
$error = $object->error; $errors = $object->errors;
|
$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)){
|
if(!empty($user->rights->categorie->lire)){
|
||||||
// Customer categories association
|
// Customer categories association
|
||||||
$categories = GETPOST( 'custcats', 'array' );
|
$categories = GETPOST( 'custcats', 'array' );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user