diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-17 04:55:22 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-17 04:55:22 +0400 |
commit | a576fd238d4c090fcbe9853a501dae59c68cb05d (patch) | |
tree | e7f85a98fb0137a104a3d1301c7043923757a625 /core/View | |
parent | bc36a4eba208881a52950789a4b630ac029a8615 (diff) |
Proper fix to some edge case bug. Will be nice to use AngularJS for such client side features.
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. |