aboutsummaryrefslogtreecommitdiff
path: root/install/ElggInstaller.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-09 14:21:48 -0800
committerSteve Clay <steve@mrclay.org>2012-11-09 14:21:48 -0800
commit9b714e32ad6bddbaddbbf278fa82dbb3308bb412 (patch)
tree503af37ad91aa7dec923f4cfb4ed8a4fbbbbcf9e /install/ElggInstaller.php
parentb2232139f13b759e8f5ce62def75eaeaa530a5b6 (diff)
parent5451dac903ba5279d12cb402a64e22483a1f1cd1 (diff)
downloadelgg-9b714e32ad6bddbaddbbf278fa82dbb3308bb412.tar.gz
elgg-9b714e32ad6bddbaddbbf278fa82dbb3308bb412.tar.bz2
Merge pull request #428 from mrclay/cli-fix-18
CLI installer: enable/auto disable, check for empty config values
Diffstat (limited to 'install/ElggInstaller.php')
-rw-r--r--install/ElggInstaller.php2
1 files changed, 1 insertions, 1 deletions
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);
}