From b10b63780291e223dc30ece31ea2899ddd8078e1 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 21 Aug 2008 17:18:36 +0000 Subject: Actually fixes #269 git-svn-id: https://code.elgg.org/elgg/trunk@2036 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/systemsettings/install.php | 5 +++-- 1 file 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); } -- cgit v1.2.3