diff --git a/module/product/model.php b/module/product/model.php index 7c9c1b616c..156e3bae9d 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -471,7 +471,7 @@ class productModel extends model $fromModule = $this->lang->navGroup->qa == 'qa' ? 'qa' : ''; $dropMenuLink = helper::createLink('product', 'ajaxGetDropMenu', "objectID=$productID&module=$currentModule&method=$currentMethod&extra=$extra&from=$fromModule"); - $output = "
" . html::a(helper::createLink('product', 'all'), " {$this->lang->productCommon}", '', "class='btn'") . '
'; + $output = $this->app->openApp == 'product' ? "
" . html::a(helper::createLink('product', 'all'), " {$this->lang->productCommon}", '', "class='btn'") . '
' : ''; $output .= "
";