* Adjust the code style.

This commit is contained in:
holan20180123
2021-01-22 13:03:38 +08:00
parent 19c1998021
commit df42276c13
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ class bug extends control
$this->executeHooks($bugID);
/* If link from no head then reload*/
/* If link from no head then reload. */
if(isonlybody()) $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => 'parent'));
if(defined('RUN_MODE') && RUN_MODE == 'api') $this->send(array('status' => 'success', 'data' => $bugID));