diff options
author | thomascube <thomas@roundcube.net> | 2008-02-27 14:23:41 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-27 14:23:41 +0000 |
commit | fa7539e7aded38fd87f81d5db083b7e3b1af0547 (patch) | |
tree | c6fb0fae4c2b4c7dcccc390e593a5d1903ea19cd /installer/rcube_install.php | |
parent | e18d04468edc17280b52440897f72434440fa07a (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.php | 4 |
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; } |