Skip to content

Commit

Permalink
[fix] Error on buildJoin
Browse files Browse the repository at this point in the history
  • Loading branch information
catfan committed Jul 13, 2019
1 parent c38cb33 commit b2d8327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Medoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ protected function selectContext($table, &$map, $join, &$columns = null, $where
)
{
$is_join = true;
$table_query .= ' ' . $this->buildJoin($join);
$table_query .= ' ' . $this->buildJoin($table, $join);
}
else
{
Expand Down Expand Up @@ -1046,7 +1046,7 @@ protected function selectContext($table, &$map, $join, &$columns = null, $where
return 'SELECT ' . $column . ' FROM ' . $table_query . $this->whereClause($where, $map);
}

protected function buildJoin($join)
protected function buildJoin($table, $join)
{
$table_join = [];

Expand Down

0 comments on commit b2d8327

Please sign in to comment.