DDC-1227 - Fix regression in QueryBuilder::add() due to Expr\From refactoring.
This commit is contained in:
parent
7367e255ae
commit
0dd1dc20c8
@ -986,7 +986,7 @@ class QueryBuilder
|
|||||||
foreach ($fromParts as $from) {
|
foreach ($fromParts as $from) {
|
||||||
$fromClause = (string) $from;
|
$fromClause = (string) $from;
|
||||||
|
|
||||||
if (isset($joinParts[$from->getAlias()])) {
|
if ($from instanceof Expr\From && isset($joinParts[$from->getAlias()])) {
|
||||||
foreach ($joinParts[$from->getAlias()] as $join) {
|
foreach ($joinParts[$from->getAlias()] as $join) {
|
||||||
$fromClause .= ' ' . ((string) $join);
|
$fromClause .= ' ' . ((string) $join);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user