* Fix a bug.

This commit is contained in:
hufangzhou
2021-03-24 15:53:59 +08:00
parent b180dde200
commit 7f289f5170
+1 -1
View File
@@ -54,7 +54,7 @@ js::set('suiteID', $suiteID);
<span class="text-muted"><?php echo $lang->testcase->noCase;?></span>
<?php if(common::canModify('product', $product) and common::hasPriv('testcase', 'create')):?>
<?php $initModule = isset($moduleID) ? (int)$moduleID : 0;?>
<?php echo html::a($this->createLink('testcase', 'create', "productID=$productID&branch=$branch&moduleID=$initModule"), "<i class='icon icon-plus'></i> " . $lang->testcase->create, '', "class='btn btn-info'");?>
<?php echo html::a($this->createLink('testcase', 'create', "productID=$productID&branch=$branch&moduleID=$initModule"), "<i class='icon icon-plus'></i> " . $lang->testcase->create, '', "class='btn btn-info' data-app='{$this->app->openApp}'");?>
<?php endif;?>
</p>
</div>