includes/userlist.php: remove PHP 5+ patch, as apparently the original Error 500 issue was related to the old languages/en.php variable issue
--- a/includes/userlist.php
+++ b/includes/userlist.php
@@ -16,13 +16,11 @@
while($u = dbassoc($users)) {
$userlist[$u['uid']] = $u['username'];
}
-if($userlist) {
- if(count($userlist) > 0) {
- $x = 0;
- foreach($userlist as $k => $v) {
- echo "userList[$x] = new Array('$k','$v');\n";
- $x++;
- }
+if(count($userlist) > 0) {
+ $x = 0;
+ foreach($userlist as $k => $v) {
+ echo "userList[$x] = new Array('$k','$v');\n";
+ $x++;
}
}
?>