diff --git a/web/template/syzoj/category.php b/web/template/syzoj/category.php
index 12b8885..aaba7bb 100644
--- a/web/template/syzoj/category.php
+++ b/web/template/syzoj/category.php
@@ -30,15 +30,10 @@
$sql = "SELECT count(*) as cnt FROM `problem` WHERE defunct='N' AND (title LIKE ? OR source LIKE ?)";
$tag_search = "%" . $tag . "%";
$result = pdo_query($sql, $tag_search, $tag_search);
- if (isset($_SESSION[$OJ_NAME . '_' . 'administrator']))
- $label_theme = "danger";
- else if (!$result || $result[0]['cnt'] <= 0) continue; // Skip tags with no active problems
+ if (!$result || $result[0]['cnt'] <= 0) continue; // Skip tags with no active problems
- // Choose a random color theme for the tag
- $hash_num = hexdec(substr(md5($tag), 0, 7));
- if ($label_theme == "") $label_theme = "default";
?>
-
+