* Replace array_column to helper::arrayColumn, compatibility with low version object arrays.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user