diff options
author | till <till@php.net> | 2007-08-29 02:04:23 +0000 |
---|---|---|
committer | till <till@php.net> | 2007-08-29 02:04:23 +0000 |
commit | b3a6455e649f84b7e40311132cd0bb8fcc8eea2a (patch) | |
tree | 744710f8a42642d1229c09c5387b8e9c90ed66c2 | |
parent | 82f6773d09a1d653d6d6e70ed8aa3b3bc13ba9ff (diff) |
# fixed: #1484527
-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'); |