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
diff options
context:
space:
mode:
-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.