"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/managegroup.php" between
mybb_1819.zip and mybb_1820.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

managegroup.php  (mybb_1819):managegroup.php  (mybb_1820)
skipping to change at line 358 skipping to change at line 358
$perpage = (int)$mybb->settings['membersperpage']; $perpage = (int)$mybb->settings['membersperpage'];
if($perpage < 1) if($perpage < 1)
{ {
$perpage = 20; $perpage = 20;
} }
$page = $mybb->get_input('page', MyBB::INPUT_INT); $page = $mybb->get_input('page', MyBB::INPUT_INT);
if($page && $page > 0) if($page && $page > 0)
{ {
$start = ($page-1) * $perpage; $start = ($page-1) * $perpage;
$pages = ceil($numusers / $per_page); $pages = ceil($numusers / $perpage);
if($page > $pages) if($page > $pages)
{ {
$start = 0; $start = 0;
$page = 1; $page = 1;
} }
} }
else else
{ {
$start = 0; $start = 0;
$page = 1; $page = 1;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)