Skip to content

Commit

Permalink
Merge pull request #6460 from StewEucen/bugfix_unused_param_in_query_…
Browse files Browse the repository at this point in the history
…update_method

Bugfix about unused param in Query::update()
  • Loading branch information
lorenzo committed May 1, 2015
2 parents 16374a5 + 83c25c6 commit 12caa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Query.php
Expand Up @@ -749,7 +749,7 @@ protected function _dirty()
*/
public function update($table = null)
{
$table = $this->repository()->table();
$table = $table ?: $this->repository()->table();
return parent::update($table);
}

Expand Down

0 comments on commit 12caa77

Please sign in to comment.