From 345ecf74a57d30c5ce19211b1bbca2a409716567 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 30 Aug 2024 14:33:04 +0800 Subject: [PATCH] - [misc] adjust array method for mr. --- module/mr/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/mr/model.php b/module/mr/model.php index 058260a66a..20a1a82c27 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -307,7 +307,7 @@ class mrModel extends model if($needExecJob && isset($MR->jobID) && $MR->jobID) { $this->execJob($MRID, (int)$MR->jobID); - if(dao::isError()) return array('result' => 'fail', 'message' => import("\n", dao::getError())); + if(dao::isError()) return array('result' => 'fail', 'message' => implode("\n", dao::getError())); } /* Known issue: `reviewer_ids` takes no effect. */