From 236552eaf53784c844da08866c8f1bbb2796a132 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Mon, 18 Apr 2022 18:10:42 +0800 Subject: [PATCH] Update taglist.class.php --- src/system/archive/taglist.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 52f7b631..04a64e3b 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -59,8 +59,6 @@ class TagList $this->Fields['tag'] = $keyword; if (empty($keyword)) { $this->Fields['title'] = "TAGS列表"; - } else { - $this->Fields['title'] = $keyword; } $this->TempletsFile = ''; //设置一些全局参数的值 @@ -73,7 +71,7 @@ class TagList ShowMsg($msg, "-1"); exit(); } - $this->Fields['title'] = empty($this->TagInfos['title']) ? $this->Fields['title'] : $this->TagInfos['title']; + $this->Fields['title'] = empty($this->TagInfos['title']) ? $this->TagInfos['tag'] : $this->TagInfos['title']; $this->Fields['keywords'] = empty($this->TagInfos['keywords']) ? $this->Fields['keywords'] : $this->TagInfos['keywords']; $this->Fields['description'] = empty($this->TagInfos['description']) ? $this->Fields['description'] : $this->TagInfos['description']; }