browse/class.php: fix Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed
browse/class.php: fix Uncaught TypeError in PHP 8 with visiting a classification type that has no classifications listed

--- a/browse/class.php
+++ b/browse/class.php
@@ -41,6 +41,7 @@
 	$output .= "<div id='pagetitle'>".$classtypelist[$type_id]['title']."</div>";
 	foreach($classlist as $c => $i) {
 		if($i['type'] == $type_id) $clist[] = "<a href='browse.php?type=class&amp;type_id=$type_id&amp;classid=$c'>".$i['name']."</a><br />";
+		else $clist[] = '';
 	}
 	$total = count($clist);
 	$count = 0;
@@ -61,3 +62,4 @@
 	$output .= "</div>".($displaycolumns ? "</div>" : "")."<div class='cleaner'>&nbsp;</div></div>";
 }
 else $output .= _ERROR;
+