* Adjust return.

This commit is contained in:
daitingting
2023-12-16 09:25:57 +00:00
parent 0600239a92
commit fbb5e00202
+1 -1
View File
@@ -148,7 +148,7 @@ class bug extends control
/* 判断 bug 是否存在。*/
/* Judge bug exits or not. */
if(!$bug) return print(js::alert($this->lang->notFound) . js::locate($this->createLink('qa', 'index')));
if(!$bug) return $this->send(array('result' => 'success', 'load' => array('alert' => $this->lang->notFound, 'locate' => $this->createLink('qa', 'index'))));
/* 检查用户是否拥有所属执行的权限。*/
/* Check bug execution priv. */