Skip to content

Commit ecb3e6a

Browse files
committed
add AUTOUPDATE to simple_query and free_query
1 parent 522f2bd commit ecb3e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function warning($msg) {
5959
}
6060

6161
public function simple_query($query, $answers, $default, $name = '') {
62-
global $autoinstall;
62+
global $autoinstall, $autoupdate;
6363
$finished = false;
6464
do {
6565
if($name != '' && $autoinstall[$name] != '') {
@@ -104,7 +104,7 @@ public function simple_query($query, $answers, $default, $name = '') {
104104
}
105105

106106
public function free_query($query, $default, $name = '') {
107-
global $autoinstall;
107+
global $autoinstall, $autoupdate;
108108
if($name != '' && $autoinstall[$name] != '') {
109109
if($autoinstall[$name] == 'default') {
110110
$input = $default;

0 commit comments

Comments
 (0)