diff --git a/install/performSetup.php b/install/performSetup.php
index d4e71c559ee..f7ecfcad05d 100755
--- a/install/performSetup.php
+++ b/install/performSetup.php
@@ -712,9 +712,11 @@ function installStatus($msg, $cmd = null, $overwrite = false, $before = '[ok]
$item) {
+ $GLOBALS[$index] = $item;
+}
foreach ($varStack['defined_vars'] as $__key => $__value) {
- ${$__key} = $__value;
+ $$__key = $__value;
}
@@ -728,7 +730,7 @@ function installStatus($msg, $cmd = null, $overwrite = false, $before = '[ok]
0) {
+if (is_countable($bottle) && count($bottle) > 0) {
foreach ($bottle as $bottle_message) {
$bottleMsg .= "{$bottle_message}\n";
}