Doc
This commit is contained in:
parent
c6a071622a
commit
3cb07fd1ec
@ -550,7 +550,7 @@ abstract class CommonObject
|
|||||||
dol_print_error(get_class()."::isExistingObject ".$error, LOG_ERR);
|
dol_print_error(get_class()."::isExistingObject ".$error, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if ($ref || $ref_ext) {
|
if ($ref || $ref_ext) { // Because the same ref can exists in 2 different entities, we force the current one in priority
|
||||||
$sql .= " AND entity = ".((int) $conf->entity);
|
$sql .= " AND entity = ".((int) $conf->entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user