Skip to content

Commit

Permalink
Merge pull request #831 from Yannick243/fix-default-start-page
Browse files Browse the repository at this point in the history
Fix start_page setting not being saved
  • Loading branch information
kroky authored Dec 1, 2023
2 parents 3789776 + 70d7460 commit 23215e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core/output_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ protected function output() {
}
$res = '<tr class="general_setting"><td><label for="default_sort_order">'.
$this->trans('Default message sort order').'</label></td>'.
'<td><select id="start_page" name="default_sort_order">';
'<td><select id="default_sort_order" name="default_sort_order">';
foreach ($options as $val => $label) {
$res .= '<option ';
if ($default_sort_order == $val) {
Expand Down
2 changes: 1 addition & 1 deletion modules/core/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
'server_pw_id' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
'message_list_since' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
'no_password_save' => FILTER_VALIDATE_BOOLEAN,
'start_page' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
'start_page' => FILTER_SANITIZE_URL,
'default_sort_order' => FILTER_SANITIZE_FULL_SPECIAL_CHARS,
'stay_logged_in' => FILTER_VALIDATE_BOOLEAN,
'junk_per_source' => FILTER_VALIDATE_INT,
Expand Down

0 comments on commit 23215e5

Please sign in to comment.