From f8a9604e1fb3d0d9b6010698613ffdebd756ae57 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 23 Jan 2024 10:34:28 +0800 Subject: [PATCH] * Modify task response. --- module/task/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/zen.php b/module/task/zen.php index 9308df56c6..74d1a38cb3 100644 --- a/module/task/zen.php +++ b/module/task/zen.php @@ -1756,7 +1756,7 @@ class taskZen extends task if($changes and $this->task->needUpdateBugStatus($task)) { $response = $this->task->getRemindBugLink($task, $changes); - if($response) return print(js::confirm(sprintf($this->lang->task->remindBug, $task->fromBug), $response['confirmed'], $response['canceled'], 'parent', 'parent.parent')); + if($response) return $this->send($response); } if(helper::isAjaxRequest('modal')) return $this->responseModal($task, $from);