Streamlining GetUserByUID references

This commit is contained in:
2019-09-20 16:25:06 +02:00
parent ef11a5269e
commit 6acd299979
4 changed files with 24 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ foreach($usersTable as $row){
}
}
if(!$skipUser){
array_push($users, new User($row['ID'], $row['username'], $row['email'], $row['password'], $row['reg_date'], $row['login_date'], $row['reg_ip'], $row['permissions']));
array_push($users, $row);
}
}