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 bc1dbaf commit e3e2c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/orm.php
Expand Up @@ -661,7 +661,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 e3e2c55

Please sign in to comment.