* 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
@@ -75,7 +75,7 @@ class program extends control
}
/* Get PM id list. */
$accounts = array_unique(array_column(json_decode(json_encode($programs), true), 'PM'));
$accounts = array_unique(helper::arrayColumn($programs, 'PM'));
$hasProject = false;
foreach($programs as $program)
{