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)) {
|
if (!empty($conf->multicompany->enabled) && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) {
|
||||||
$object->entity = 0;
|
$object->entity = 0;
|
||||||
} else {
|
} elseif (GETPOSTISSET("entity")) {
|
||||||
$object->entity = GETPOSTISSET("entity") ? GETPOST("entity") : $conf->entity;
|
$object->entity = GETPOST("entity", "int");
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret = $object->update();
|
$ret = $object->update();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user