Skip to content
Permalink
Browse files

Fixed cool error I wasn't getting in dev.

  • Loading branch information
flashwave committed Dec 3, 2019
1 parent f8b89a5 commit 202db463e6c3fb58ac483115ec9e41aeef23cf52
Showing with 4 additions and 4 deletions.
  1. +4 −4 public/members.php
@@ -149,16 +149,16 @@
WHERE ur.`role_id` = :role_id
%1$s
ORDER BY %2$s %3$s
LIMIT :offset, :take
LIMIT %5$d, %6$d
',
$canManageUsers ? '' : 'AND u.`user_deleted` IS NULL',
$orderFields[$orderBy]['column'],
$orderDir,
MSZ_USER_RELATION_FOLLOW
MSZ_USER_RELATION_FOLLOW,
$usersOffset < 0 ? 0 : $usersOffset,
isset($usersPagination['range']) ? $usersPagination['range'] : 0
));
$getUsers->bind('role_id', $role['role_id']);
$getUsers->bind('offset', $usersOffset);
$getUsers->bind('take', $usersPagination['range']);
$getUsers->bind('current_user_id', user_session_current('user_id', 0));
$users = $getUsers->fetchAll();

0 comments on commit 202db46

Please sign in to comment.
You can’t perform that action at this time.