diff options
| author | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-08-29 02:04:23 +0000 |
|---|---|---|
| committer | till <till@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-08-29 02:04:23 +0000 |
| commit | 17735e57561fd571f494a37d35d4eb80678c3d03 (patch) | |
| tree | 1f05095bf3a81043c1997e887ca9c8a7d8fd3e46 /roundcubemail/program | |
| parent | dc19520c674a294074dd49dac9108930f2056df0 (diff) | |
# fixed: #1484527
git-svn-id: https://svn.roundcube.net/trunk@727 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/settings/save_prefs.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc index 4945a4fff..9f4df5302 100644 --- a/roundcubemail/program/steps/settings/save_prefs.inc +++ b/roundcubemail/program/steps/settings/save_prefs.inc @@ -42,6 +42,12 @@ if (isset($_POST['_language'])) rcmail_set_locale($sess_user_lang); } +// force min size +if ($a_user_prefs['pagesize'] == 0) + { + $a_user_prefs['pagesize'] = 10; + } + if (rcmail_save_user_prefs($a_user_prefs)) $OUTPUT->show_message('successfullysaved', 'confirmation'); |
