Skip to content

Commit

Permalink
Change load order of API variables and local variables in TemplateFil…
Browse files Browse the repository at this point in the history
…e class so that API variables may be overwritten. This is to correct in issue pointed out within Hanna Code, but the issue was in TemplateFile rather than Hanna Code.
  • Loading branch information
ryancramerdesign committed Feb 8, 2014
1 parent e7352ef commit 762aeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wire/core/TemplateFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function ___render() {
*
*/
public function getArray() {
return array_merge(parent::getArray(), $this->fuel->getArray());
return array_merge($this->fuel->getArray(), parent::getArray());
}

/**
Expand Down

0 comments on commit 762aeb3

Please sign in to comment.