From 785bb3a0c373d8aaea28d401f864c140e34b0c50 Mon Sep 17 00:00:00 2001 From: make Date: Sun, 27 Apr 2025 20:29:10 +0800 Subject: [PATCH] debug --- code/app/home/view/haoZi/pc/getNovelChapter.html | 1 - code/app/home/view/shikong/novel/getNovelChapter.html | 2 +- code/extend/template/taglib/Site.php | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/code/app/home/view/haoZi/pc/getNovelChapter.html b/code/app/home/view/haoZi/pc/getNovelChapter.html index 54f2c93..d219cd6 100644 --- a/code/app/home/view/haoZi/pc/getNovelChapter.html +++ b/code/app/home/view/haoZi/pc/getNovelChapter.html @@ -16,7 +16,6 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} - - 下一章 diff --git a/code/extend/template/taglib/Site.php b/code/extend/template/taglib/Site.php index 2b4dd0d..41337b0 100644 --- a/code/extend/template/taglib/Site.php +++ b/code/extend/template/taglib/Site.php @@ -217,14 +217,14 @@ EOD; /** * 小说章节URL生成器 * - * @param array $n_id + * @param array * @return string */ public function tagCPUrl($tag) { - $intNId = isset($tag['n_id']) ? $tag['n_id'] : ''; - $strNPy = isset($tag['n_py']) ? $tag['n_py'] : ''; - $intChapterSort = isset($tag['c_sort']) ? $tag['c_sort'] : ''; + $intNId = $tag['n_id']; + $strNPy = $tag['n_py']; + $intChapterSort = $tag['c_sort']; $intChapterPage = isset($tag['c_page']) ? $tag['c_page'] : 0; $intNId = $this->customBuildVar($intNId);