From 53102c368ea8bb991afa17c5048a8f35152e05fb Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Mon, 16 May 2022 03:28:40 +0000 Subject: [PATCH] * Fix bug #22441. --- module/execution/view/task.html.php | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/module/execution/view/task.html.php b/module/execution/view/task.html.php index 141f65ab3f..560523475e 100644 --- a/module/execution/view/task.html.php +++ b/module/execution/view/task.html.php @@ -161,29 +161,13 @@ body {margin-bottom: 25px;} ?> - - "; - $link = $this->createLink('task', 'create', "execution=$executionID" . (isset($moduleID) ? "&storyID=0&moduleID=$moduleID" : "")); - if($canBeChanged and common::hasPriv('task', 'create', $checkObject)) echo html::a($link, " {$lang->task->create} ", '', "class='btn btn-primary'"); - ?> - - ";?> - + app->getViewType() == 'xhtml'):?>