diff options
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r-- | program/steps/settings/save_prefs.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index 4945a4fff..9f4df5302 100644 --- a/program/steps/settings/save_prefs.inc +++ b/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'); |