diff --git a/core/user.class.php b/core/user.class.php index e8959812..2fff0616 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -1,4 +1,8 @@ get_all("SELECT * FROM users WHERE id >= ? AND id < ?", array($offset, $offset+$limit)); + return array_map("_new_user", $rows); + } + /* * useful user object functions start here