Skip to content

Commit

Permalink
Template::render uses passed & template parameters together
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 15, 2014
1 parent 28d63ea commit 2c5302a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/ApplicationLatte/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getLatte()
*/
public function render($file = NULL, array $params = array())
{
$this->latte->render($file ?: $this->file, $params ?: $this->params);
$this->latte->render($file ?: $this->file, $params + $this->params);
}


Expand Down

0 comments on commit 2c5302a

Please sign in to comment.