Skip to content

Commit

Permalink
Add braces to name call
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Chater committed Jan 16, 2017
1 parent 716b4a1 commit dc2a2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/HelperRegistry.php
Expand Up @@ -91,7 +91,7 @@ public function __get($name)
if (isset($this->_loaded[$name])) { if (isset($this->_loaded[$name])) {
return $this->_loaded[$name]; return $this->_loaded[$name];
} }
if (isset($this->$name)) { if (isset($this->{$name})) {
return $this->_loaded[$name]; return $this->_loaded[$name];
} }


Expand Down

0 comments on commit dc2a2e2

Please sign in to comment.