Permalink
Browse files

Template&addContext() takes a Template

s/template/context/

Should have tested this.
  • Loading branch information...
1 parent 3ea0e38 commit 315ee87b15fdd3bcdd568ee9f1c3429b65903521 Brennen Bearnes committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Template.php
View
@@ -135,7 +135,7 @@ public function setContext ($context = array())
public function addContext ($context = array())
{
if ($context instanceof Template)
- $context = $template->getContext();
+ $context = $context->getContext();
foreach ($context as $key => $val) {
$this->__set($key, $val);

0 comments on commit 315ee87

Please sign in to comment.