Update card.php
This commit is contained in:
parent
3dfd92e9c0
commit
53909828f9
@ -217,8 +217,8 @@ if (empty($reshook)) {
|
||||
|
||||
if (!empty($conf->multicompany->enabled) && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) {
|
||||
$object->entity = 0;
|
||||
} else {
|
||||
$object->entity = GETPOSTISSET("entity") ? GETPOST("entity") : $conf->entity;
|
||||
} elseif (GETPOSTISSET("entity")) {
|
||||
$object->entity = GETPOST("entity", "int");
|
||||
}
|
||||
|
||||
$ret = $object->update();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user