Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/View
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-02-17 04:55:22 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-17 04:55:22 +0400
commita576fd238d4c090fcbe9853a501dae59c68cb05d (patch)
treee7f85a98fb0137a104a3d1301c7043923757a625 /core/View
parentbc36a4eba208881a52950789a4b630ac029a8615 (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.php5
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.