includes/userlist.php: Fix Uncaught TypeError in PHP 8 for the Co-Authors field when you use a starting character that yields no results
includes/userlist.php: Fix Uncaught TypeError in PHP 8 for the Co-Authors field when you use a starting character that yields no results

--- a/includes/userlist.php
+++ b/includes/userlist.php
@@ -21,7 +21,7 @@
 while($u = dbassoc($users)) {
 	$userlist[$u['uid']] = $u['username'];
 }
-if(count($userlist) > 0) {
+if(is_countable($userlist) > 0) {
 	$x = 0;
 	foreach($userlist as $k => $v) {
 		echo "userList[$x] =  new Array('$k','$v');\n";