From b4c923828fdcc4fa4b0252c354971c516a226d81 Mon Sep 17 00:00:00 2001 From: Dimitar Ivanov Date: Sun, 10 Mar 2024 09:31:01 +0200 Subject: [PATCH] Update DB.php --- src/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DB.php b/src/DB.php index fce05ae..7650c13 100644 --- a/src/DB.php +++ b/src/DB.php @@ -255,7 +255,7 @@ public function count(): ?int $statement .= " FROM " . $this->table; if ($this->join) { - $statement .= "JOIN " . $this->join; + $statement .= " " . $this->buildJoin(); } if ($this->where) {