summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r--installer/rcube_install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 44d453153..65fbe097b 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -95,14 +95,14 @@ class rcube_install
* @param string Default value
* @return string The property value
*/
- function getprop($name, $default = null)
+ function getprop($name, $default = '')
{
$value = isset($_REQUEST["_$name"]) ? $_REQUEST["_$name"] : $this->config[$name];
if ($name == 'des_key' && !isset($_REQUEST["_$name"]))
$value = self::random_key(24);
- return $value !== null ? $value : $default;
+ return $value !== null && $value !== '' ? $value : $default;
}