summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authortill <till@php.net>2007-08-29 02:04:23 +0000
committertill <till@php.net>2007-08-29 02:04:23 +0000
commitb3a6455e649f84b7e40311132cd0bb8fcc8eea2a (patch)
tree744710f8a42642d1229c09c5387b8e9c90ed66c2 /program
parent82f6773d09a1d653d6d6e70ed8aa3b3bc13ba9ff (diff)
# fixed: #1484527
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/save_prefs.inc6
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');