aboutsummaryrefslogtreecommitdiff
path: root/install/ElggInstaller.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-10-12 22:05:20 -0400
committerSteve Clay <steve@mrclay.org>2012-10-12 22:05:20 -0400
commit5451dac903ba5279d12cb402a64e22483a1f1cd1 (patch)
tree7706625c9b764f979d339968d0eec9fdb66a71ce /install/ElggInstaller.php
parentd134beadb79fcc90a75bda8bbcbfb9987b27470c (diff)
downloadelgg-5451dac903ba5279d12cb402a64e22483a1f1cd1.tar.gz
elgg-5451dac903ba5279d12cb402a64e22483a1f1cd1.tar.bz2
CLI installer: manual enable/auto disable, checking 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);
}