* Replace array_column to helper::arrayColumn, compatibility with low version object arrays.

This commit is contained in:
caoyanyi
2023-09-04 14:48:59 +08:00
parent d15df882ed
commit 96b899b527
21 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -4101,7 +4101,7 @@ class execution extends control
$this->view->productID = $productID;
$this->view->pager = $pager;
$this->view->orderBy = $orderBy;
$this->view->users = $this->loadModel('user')->getPairs('noletter', '', 0, array_unique(array_column($executionStats, 'PM')));
$this->view->users = $this->loadModel('user')->getPairs('noletter', '', 0, array_unique(helper::arrayColumn($executionStats, 'PM')));
$this->view->projects = array('') + $this->project->getPairsByProgram();
$this->view->status = $status;
$this->view->from = $from;