From 404c5ceddd6ec664d8baed8808e2bce630a2895c Mon Sep 17 00:00:00 2001 From: John Heathco Date: Tue, 4 May 2010 17:30:51 -0700 Subject: [PATCH] ORM fix for changes made to database in #2780 --- classes/kohana/orm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/kohana/orm.php b/classes/kohana/orm.php index 139a056..bb453d8 100644 --- a/classes/kohana/orm.php +++ b/classes/kohana/orm.php @@ -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; }