From 5451dac903ba5279d12cb402a64e22483a1f1cd1 Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Fri, 12 Oct 2012 22:05:20 -0400 Subject: CLI installer: manual enable/auto disable, checking for empty config values --- install/ElggInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/ElggInstaller.php') diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index 03c84a43e..934b38d28 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -157,7 +157,7 @@ class ElggInstaller { 'password', ); foreach ($requiredParams as $key) { - if (!array_key_exists($key, $params)) { + if (empty($params[$key])) { $msg = elgg_echo('install:error:requiredfield', array($key)); throw new InstallationException($msg); } -- cgit v1.2.3