diff --git a/classes/kohana/orm.php b/classes/kohana/orm.php index 9c6b333..1f434da 100644 --- a/classes/kohana/orm.php +++ b/classes/kohana/orm.php @@ -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; }