Skip to content

Commit

Permalink
ORM fix for changes made to database in #2780
Browse files Browse the repository at this point in the history
  • Loading branch information
jheathco committed May 5, 2010
1 parent 6f95339 commit 404c5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/orm.php
Expand Up @@ -678,7 +678,7 @@ public function with($target_path)
}

// Join the related object into the result
$this->join(array($target->_table_name, $this->_db->table_prefix().$target_path), 'LEFT')->on($join_col1, '=', $join_col2);
$this->join(array($target->_table_name, $target_path), 'LEFT')->on($join_col1, '=', $join_col2);

return $this;
}
Expand Down

0 comments on commit 404c5ce

Please sign in to comment.