- Fix setting refresh_interval to "Never" in Preferences (#1489286)

pull/106/head
Aleksander Machniak 11 years ago
parent 88b4231d98
commit 85ef036bbd

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix setting refresh_interval to "Never" in Preferences (#1489286)
- Fix replacement variables in user-specific base_dn in some LDAP requests (#1489279)
- Fix image scaling issues when image has only one dimension smaller than the limit (#1489274)
- Fix issue where uploaded photo was lost when contact form did not validate (#1489274)

@ -160,7 +160,7 @@ switch ($CURR_SECTION)
$a_user_prefs['timezone'] = (string) $a_user_prefs['timezone'];
if (isset($a_user_prefs['refresh_interval']) && !empty($CONFIG['min_refresh_interval'])) {
if (!empty($a_user_prefs['refresh_interval']) && !empty($CONFIG['min_refresh_interval'])) {
if ($a_user_prefs['refresh_interval'] < $CONFIG['min_refresh_interval']) {
$a_user_prefs['refresh_interval'] = $CONFIG['min_refresh_interval'];
}

Loading…
Cancel
Save