till
2007-09-01 c1f160203e56c0d5059994981bc8383af43b9b7f
+ implemented checks for max pagesize (#1484484)



1 files modified
4 ■■■■ changed files
program/steps/settings/save_prefs.inc 4 ●●●● patch | view | raw | blame | history
program/steps/settings/save_prefs.inc
@@ -47,6 +47,10 @@
  {
  $a_user_prefs['pagesize'] = 10;
  }
if (isset($CONFIG['max_pagesize']) && ($a_user_prefs['pagesize'] > $CONFIG['max_pagesize']))
  {
  $a_user_prefs['pagesize'] = (int) $CONFIG['max_pagesize'];
  }
if (rcmail_save_user_prefs($a_user_prefs))
  $OUTPUT->show_message('successfullysaved', 'confirmation');