Browse code

includes/userlist.php: remove PHP 5+ patch, as apparently the original Error 500 issue was related to the old languages/en.php variable issue

Clarissa Walker authored on 2026/10/31 23:23:22
Showing 1 changed files
... ...
@@ -16,13 +16,11 @@ echo "var element = '".$_GET['element']."';\n";
16 16
 while($u = dbassoc($users)) {
17 17
 	$userlist[$u['uid']] = $u['username'];
18 18
 }
19
-if($userlist) {
20
-	if(count($userlist) > 0) {
21
-		$x = 0;
22
-		foreach($userlist as $k => $v) {
23
-			echo "userList[$x] =  new Array('$k','$v');\n";
24
-			$x++;
25
-		}
19
+if(count($userlist) > 0) {
20
+	$x = 0;
21
+	foreach($userlist as $k => $v) {
22
+		echo "userList[$x] =  new Array('$k','$v');\n";
23
+		$x++;
26 24
 	}
27 25
 }
28 26
 ?>