From 9964ed208e24b6ebb18a8248daed0a9e328d7c5d Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 13 May 2024 23:15:37 +0800 Subject: [PATCH] change max tag limit to 50 --- themes/tajian/controller/FrontapiController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/tajian/controller/FrontapiController.php b/themes/tajian/controller/FrontapiController.php index cadc2a0..551d4f9 100644 --- a/themes/tajian/controller/FrontapiController.php +++ b/themes/tajian/controller/FrontapiController.php @@ -1010,9 +1010,9 @@ eof; //获取只包含分类名的数组 $allTags = Html::getTagNames($tags_current); - //最多添加 20 个分类 - if (count($allTags) >= 20) { - $err = '最多添加 20 个分类,请合理规划视频分类哦'; + //最多添加 50 个分类 + if (count($allTags) >= 50) { + $err = '最多添加 50 个分类,请合理规划视频分类哦'; }else { //保存 $saved = $this->addTag(ucfirst($tag_to_add));