Browse Source

Add braces to name call

Ross Chater 9 years ago
parent
commit
dc2a2e2459
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/HelperRegistry.php

+ 1 - 1
src/View/HelperRegistry.php

@@ -91,7 +91,7 @@ class HelperRegistry extends ObjectRegistry implements EventDispatcherInterface
         if (isset($this->_loaded[$name])) {
             return $this->_loaded[$name];
         }
-        if (isset($this->$name)) {
+        if (isset($this->{$name})) {
             return $this->_loaded[$name];
         }