From 8f3d8d54d792e94896f3cfcf55cda181e7b3ea5d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 5 Feb 2024 15:57:53 +0800 Subject: [PATCH] * Fix bug #45839. --- module/testreport/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testreport/control.php b/module/testreport/control.php index e0eab46d2a..0c3c411bea 100644 --- a/module/testreport/control.php +++ b/module/testreport/control.php @@ -252,7 +252,7 @@ class testreport extends control public function view(int $reportID, string $tab = 'basic', int $recTotal = 0, int $recPerPage = 100, int $pageID = 1) { $report = $this->testreport->getById($reportID); - if(!$report) return $this->send(array('result' => 'fail', 'load' => array('alert' => $this->lang->notFound, 'locate' => array('load' => true)))); + if(!$report) return $this->send(array('result' => 'fail', 'load' => array('alert' => $this->lang->notFound))); /* Set session. */ $this->session->project = $report->project;