From e88a15d11b036c64866169f0425c7a020a5a19e2 Mon Sep 17 00:00:00 2001 From: Cerys Date: Thu, 9 Jan 2025 20:03:04 +0000 Subject: [PATCH] fixed the ordering --- src/QueryBuilder/LinkQuery/LinkQueryBuilder.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/QueryBuilder/LinkQuery/LinkQueryBuilder.php b/src/QueryBuilder/LinkQuery/LinkQueryBuilder.php index 73cf20e..936e6b1 100644 --- a/src/QueryBuilder/LinkQuery/LinkQueryBuilder.php +++ b/src/QueryBuilder/LinkQuery/LinkQueryBuilder.php @@ -93,11 +93,12 @@ class LinkQueryBuilder $builder = "LINK " . $this->RelativePath1 + . " AS \"" . $this->PropertyName . "\"" . " " . $this->ToOrOf . " " . $this->RelativePath2 - . " AS \"" . $this->PropertyName . "\""; + ; if($this->Mode != "") $builder .= " " . $this->Mode;