diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php
index 10494edbbc..8cce81e2d0 100644
--- a/module/bug/view/browse.html.php
+++ b/module/bug/view/browse.html.php
@@ -132,14 +132,23 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID") : '###';
if(commonModel::isTutorialMode())
{
$wizardParams = helper::safe64Encode("productID=$productID&branch=$branch&extra=moduleID=$moduleID");
$link = $this->createLink('tutorial', 'wizard', "module=bug&method=create¶ms=$wizardParams");
+ echo html::a($link, " {$lang->bug->create} ", '', "class='btn btn-primary btn-bug-create'");
+ }
+ else
+ {
+ $link = $this->createLink('bug', 'create', "productID=$productID&branch=$branch&extra=moduleID=$moduleID");
+ $disabled = '';
+ if(!common::hasPriv('bug', 'create'))
+ {
+ $link = '###';
+ $disabled = "disabled";
+ }
+ echo html::a($link, " {$lang->bug->create} ", '', "class='btn btn-primary $disabled'");
}
- $disabled = common::hasPriv('bug', 'create') ? '' : "disabled";
- echo html::a($link, " {$lang->bug->create} ", '', "class='btn btn-primary $disabled'");
?>