FIX joins

This commit is contained in:
2022-09-28 19:39:03 -03:00
parent fc372b56c1
commit 849d42ea57

View File

@ -107,10 +107,6 @@ abstract class Select extends Query implements SelectInterface
{ {
$str = []; $str = [];
foreach ($this->getJoins() as $i => $join) { foreach ($this->getJoins() as $i => $join) {
if ($i === 0) {
$str []= $join;
continue;
}
if (!str_contains(strtolower($join), 'join')) { if (!str_contains(strtolower($join), 'join')) {
$str []= "JOIN {$join}"; $str []= "JOIN {$join}";
continue; continue;