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