diff --git a/website/index.php b/website/index.php index 650f189d..da439cb7 100644 --- a/website/index.php +++ b/website/index.php @@ -145,6 +145,11 @@ if (isset($_SESSION['steamid'])) { } } } + + // Skip categories with 0 items + if ($weaponCount == 0) { + continue; + } ?>