summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-27 14:23:41 +0000
committerthomascube <thomas@roundcube.net>2008-02-27 14:23:41 +0000
commitfa7539e7aded38fd87f81d5db083b7e3b1af0547 (patch)
treec6fb0fae4c2b4c7dcccc390e593a5d1903ea19cd /installer/rcube_install.php
parente18d04468edc17280b52440897f72434440fa07a (diff)
Send test message with mail() if no SMTP server configured; show input fields for SMTP auth if necessary
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;
}