summaryrefslogtreecommitdiffstats
path: root/admin/survey/minify/lib/Minify/App.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/survey/minify/lib/Minify/App.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/survey/minify/lib/Minify/App.php b/admin/survey/minify/lib/Minify/App.php
index 5ddb3e9..1270672 100644
--- a/admin/survey/minify/lib/Minify/App.php
+++ b/admin/survey/minify/lib/Minify/App.php
@@ -80,6 +80,12 @@ class App extends Container
};
$varNames = array_map($prefixer, $propNames);
+ $varDefined = get_defined_vars();
+
+ $varNames = array_filter($varNames, function ($name) use ($varDefined) {
+ return array_key_exists($name, $varDefined);
+ });
+
$vars = compact($varNames);
foreach ($varNames as $varName) {