aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/systemsettings/install.php')
-rw-r--r--actions/systemsettings/install.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 35cae93c1..efc0f61b4 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -65,6 +65,8 @@
unset_config('debug', $site->getGUID());
$usage = get_input('usage');
+ if (is_array($usage)) $usage = $usage[0];
+
if ($usage)
unset_config('ping_home', $site->getGUID());
else
@@ -77,9 +79,8 @@
enable_plugin('logbrowser', $site->getGUID());
enable_plugin('diagnostics', $site->getGUID());
-
// Now ping home
- if ($usage!='disabled')
+ if ($usage=='')
{
ping_home($site);
}