Commit d9c289f8 authored by jarekj's avatar jarekj Committed by Steve Müller

Update QueryBuilder.php

parent 8cf827d2
......@@ -1149,7 +1149,7 @@ class QueryBuilder
if (isset($this->sqlParts['join'][$fromAlias])) {
if (array_key_exists($join['joinAlias'], $knownAliases)) {
throw QueryException::aliasNotUnique($join['joinAlias']);
throw QueryException::notUniqueAlias($join['joinAlias'], $knownAliases);
}
foreach ($this->sqlParts['join'][$fromAlias] as $join) {
$sql .= ' ' . strtoupper($join['joinType'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment