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':