* Fix create a bug navgation when the system don't have any product.
This commit is contained in:
@@ -73,7 +73,7 @@ class bug extends control
|
||||
$products = $this->product->getPairs($mode, 0, '', 'all');
|
||||
}
|
||||
|
||||
if(empty($products) and !helper::isAjaxRequest()) $this->locate($this->createLink('product', 'showErrorNone', "moduleName=$tab&activeMenu=bug&objectID=$objectID"));
|
||||
if(empty($products) and substr($this->app->rawMethod, 0, 4) != 'ajax') $this->locate($this->createLink('product', 'showErrorNone', "moduleName=$tab&activeMenu=bug&objectID=$objectID"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user