From 3cb07fd1ec627930e28ff05024aeae98b6d880d9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 1 Dec 2021 15:37:31 +0100 Subject: [PATCH] Doc --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 9d1800af742..51a72d6beb2 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -550,7 +550,7 @@ abstract class CommonObject dol_print_error(get_class()."::isExistingObject ".$error, LOG_ERR); 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); }