Fix excluded 0 listing in index
This commit is contained in:
parent
44d7e6f8a4
commit
d6b3e5f986
|
@ -31,7 +31,10 @@
|
|||
foreach($output as $tag){
|
||||
$count = "";
|
||||
exec($tmsu . "files -c '" . addcslashes($tag . $exclude_query, '(..)') . "'", $count);
|
||||
echo("<a href='http://" . $_SERVER['HTTP_HOST'] . "/tag.php?t=" . $tag . "'>(" . $count[0] .") " . $tag ."</a>, ");
|
||||
|
||||
if($count[0] !== "0"){
|
||||
echo("<a href='http://" . $_SERVER['HTTP_HOST'] . "/tag.php?t=" . $tag . "'>(" . $count[0] .") " . $tag ."</a>, ");
|
||||
}
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue