diff options
Diffstat (limited to 'core/View')
-rw-r--r-- | core/View/UIControl.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/View/UIControl.php b/core/View/UIControl.php index 0590fe2552..92d8f436e2 100644 --- a/core/View/UIControl.php +++ b/core/View/UIControl.php @@ -107,6 +107,11 @@ class UIControl extends \Piwik\View return $this->innerView->__get($key); } + public function __isset($key) + { + return isset($this->innerView->templateVars[$key]); + } + /** * Renders the control view within a containing <div> that is used by the UIControl JavaScript * class. |