Merge branch 'liyuchun_bug_17235'

This commit is contained in:
孙广明
2022-03-22 15:45:41 +08:00
5 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ class bug extends control
}
else
{
$products = $this->product->getPairs('', 0, 'program_asc');
$mode = ($this->app->methodName == 'create' and empty($this->config->CRProduct)) ? 'noclosed' : '';
$products = $this->product->getPairs($mode, 0, 'program_asc');
}
if(empty($products) and !helper::isAjaxRequest()) return print($this->locate($this->createLink('product', 'showErrorNone', "moduleName=$tab&activeMenu=bug&objectID=$objectID")));
}