Skip to content

Commit b4c9238

Browse files
committed
Update DB.php
1 parent a3966db commit b4c9238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function count(): ?int
255255
$statement .= " FROM " . $this->table;
256256

257257
if ($this->join) {
258-
$statement .= "JOIN " . $this->join;
258+
$statement .= " " . $this->buildJoin();
259259
}
260260

261261
if ($this->where) {

0 commit comments

Comments
 (0)