Browse Source

Merge pull request #423 from akhodakivskiy/master

Query::left_join to accept closures
Taylor Otwell 12 years ago
parent
commit
7e7f70dbdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/query.php

+ 1 - 1
laravel/database/query.php

@@ -182,7 +182,7 @@ class Query {
 	 * @param  string  $column2
 	 * @return Query
 	 */
-	public function left_join($table, $column1, $operator, $column2)
+	public function left_join($table, $column1, $operator = null, $column2 = null)
 	{
 		return $this->join($table, $column1, $operator, $column2, 'LEFT');
 	}