From 71262e445b1f1191a389ff92581d2046c2aa7ccb Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Mon, 14 Oct 2019 09:48:40 +0800 Subject: [PATCH] * Finish task #6462. --- module/testcase/view/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php index 8944b1959c..8c51fe241b 100644 --- a/module/testcase/view/browse.html.php +++ b/module/testcase/view/browse.html.php @@ -132,7 +132,7 @@ js::set('suiteID', $suiteID); $actionLink = $this->createLink('testcase', 'batchDelete', "productID=$productID"); $misc = common::hasPriv('testcase', 'batchDelete') ? "onclick=\"confirmBatchDelete('$actionLink')\"" : $class; - echo "
  • " . html::a('#', $lang->delete, '', $misc) . "
  • "; + if(common::hasPriv('testcase', 'batchDelete')) echo "
  • " . html::a('#', $lang->delete, '', $misc) . "
  • "; if(common::hasPriv('testcase', 'batchCaseTypeChange')) {