From ea1319a3605990b587c9e9bef0e5600dc162c2dd Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 11 Feb 2022 14:00:51 +0800 Subject: [PATCH] * adjust code. --- extension/lite/story/ext/view/create.html.php | 2 +- module/story/model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/lite/story/ext/view/create.html.php b/extension/lite/story/ext/view/create.html.php index 96ed248326..b4caabe660 100644 --- a/extension/lite/story/ext/view/create.html.php +++ b/extension/lite/story/ext/view/create.html.php @@ -131,7 +131,7 @@ story->spec;?> fetch('user', 'ajaxPrintTemplates', 'type=story&link=spec');?> - story->specTemplate . "\n" . $lang->noticePasteImg) . "'");?> + noticePasteImg) . "'");?> diff --git a/module/story/model.php b/module/story/model.php index 7a83289a76..930336bb6f 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -3889,7 +3889,7 @@ class storyModel extends model } break; case 'taskCount': - $tasksLink = helper::createLink('story', 'tasks', "storyID=$story->id"); + $tasksLink = helper::createLink('story', 'tasks', "storyID=$story->id&isonlybody=yes"); $storyTasks[$story->id] > 0 ? print(html::a($tasksLink, $storyTasks[$story->id], '', 'class="iframe"')) : print(0); break; case 'bugCount':