diff --git a/web/template/syzoj/category.php b/web/template/syzoj/category.php index bd1672e..909dd5d 100644 --- a/web/template/syzoj/category.php +++ b/web/template/syzoj/category.php @@ -23,7 +23,7 @@ // 生成标签地图 // 为标签添加颜色样式 function colorize_tag($tag) { - $color_theme=Array("default","primary","success","info","warning","danger");; + $color_theme=["default","primary","success","info","warning","danger"]; $hash_num = hexdec(substr(md5($tag), 0, 7)); $label_theme = $color_theme[$hash_num % count($color_theme)];