From 05eede93d2d1805fb2f7c020087332c3247ffece Mon Sep 17 00:00:00 2001 From: 0bs3rv3ra <0bs3rv3ra@users.noreply.github.com> Date: Tue, 1 Apr 2014 01:23:50 +1000 Subject: [PATCH] I forgot to add this to commit 3a0fb3e. --- sections/user/take_edit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sections/user/take_edit.php b/sections/user/take_edit.php index 86526d88..75dd4fc5 100644 --- a/sections/user/take_edit.php +++ b/sections/user/take_edit.php @@ -26,6 +26,7 @@ //$Val->SetFields('torrentgrouping', 0, "number", "You forgot to select your torrent grouping option."); $Val->SetFields('discogview', 1, "number", "You forgot to select your discography view option.", array('minlength' => 0, 'maxlength' => 1)); $Val->SetFields('postsperpage', 1, "number", "You forgot to select your posts per page option.", array('inarray' => array(25, 50, 100))); +$Val->SetFields('privatemessagesperpage', 1, "number", "You forgot to select your private messages per page option.", array('inarray' => array(25, 50, 100))); //$Val->SetFields('hidecollage', 1, "number", "You forgot to select your collage option.", array('minlength' => 0, 'maxlength' => 1)); $Val->SetFields('collagecovers', 1, "number", "You forgot to select your collage option."); $Val->SetFields('avatar', 0, "regex", "You did not enter a valid avatar URL.", array('regex' => "/^".IMAGE_REGEX."$/i")); @@ -209,6 +210,7 @@ $Options['TorrentGrouping'] = (!empty($_POST['torrentgrouping']) ? 1 : 0); $Options['DiscogView'] = (!empty($_POST['discogview']) ? 1 : 0); $Options['PostsPerPage'] = (int)$_POST['postsperpage']; +$Options['PrivateMessagesPerPage'] = (int)$_POST['privatemessagesperpage']; //$Options['HideCollage'] = (!empty($_POST['hidecollage']) ? 1 : 0); $Options['CollageCovers'] = (empty($_POST['collagecovers']) ? 0 : $_POST['collagecovers']); $Options['ShowTorFilter'] = (empty($_POST['showtfilter']) ? 0 : 1);