From 8911a9a3ed43f37d17e9a812d9c3dbbfe91849a5 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 5 Dec 2019 13:06:23 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02381=20-=20Not=20possible=20to=20create?= =?UTF-8?q?=20a=20ticket=20in=20"resolved"=20with=20lnk=20objects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbobjectsearch.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbobjectsearch.class.php b/core/dbobjectsearch.class.php index 904851ef2..ba633b4e0 100644 --- a/core/dbobjectsearch.class.php +++ b/core/dbobjectsearch.class.php @@ -1036,7 +1036,7 @@ class DBObjectSearch extends DBSearch public function Filter($sClassAlias, DBSearch $oFilter) { // If the conditions are the correct ones for Intersect - if (($this->GetFirstJoinedClassAlias() == $sClassAlias)) + if (($this->GetFirstJoinedClass() == $oFilter->GetFirstJoinedClass())) { return $this->Intersect($oFilter); }