diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-24 00:54:18 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-24 00:54:18 -0800 |
commit | 9bda216fa760fe3124f8d36fc919a8e9992c6d53 (patch) | |
tree | c1a2cc72024e6abc27adbc1da8fc13070c0e9507 /includes | |
parent | daa1e4eeaaa1df43fd95bdb5aed59c602d2c14b7 (diff) | |
download | pathery-9bda216fa760fe3124f8d36fc919a8e9992c6d53.tar.xz |
Updates to the new Memberlist
Diffstat (limited to 'includes')
-rw-r--r-- | includes/datas.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/datas.php b/includes/datas.php index 124b303..6566b89 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -710,6 +710,8 @@ function getChampionPointsArray() { //Select Members function getMembers($pageNumber = 1, $pageDivide = 50, $order = 'DESC', $orderBy = 'dateJoined') { + if ($pageDivide <= 0) + $pageDivide = 50; if ($order !== 'ASC' AND $order !== 'DESC') $order = 'DESC'; $columns = array('dateJoined', 'dateLogin', 'championPoints', |