Skip to content

Commit

Permalink
Fixes mybb#1832 Numeric fields - default values lower than minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-MyBB committed Mar 17, 2015
1 parent 0c2b314 commit 6f4a5ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions admin/modules/user/users.php
Expand Up @@ -2326,6 +2326,11 @@ function toggleBox(action)
$mybb->input['displayas'] = "card";
}

if(!$mybb->input['perpage'])
{
$mybb->input['perpage'] = 20;
}

$form = new Form("index.php?module=user-users&action=search", "post");

user_search_conditions($mybb->input, $form);
Expand Down

0 comments on commit 6f4a5ad

Please sign in to comment.