Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit 8c5d458

Browse files
authored
Update Join.php
1 parent 8e77381 commit 8c5d458

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • src/QueryBuilder/Operator/Classes

src/QueryBuilder/Operator/Classes/Join.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ public function inner()
9292
*/
9393
public function on($first, $second)
9494
{
95-
return $this->raw($first . ' = ' . $second);
95+
return $this->raw(
96+
$this->builder->adapter()->quote($first)
97+
. ' = ' .
98+
$this->builder->adapter()->quote($second)
99+
);
96100
}
97101

98102
/**
@@ -143,4 +147,4 @@ public function getTable()
143147
return $this->table;
144148
}
145149

146-
}
150+
}

0 commit comments

Comments
 (0)