From 68ec7d01b325ec606104b748c6f69883ef106591 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Fri, 7 Jul 2023 11:02:09 +0800 Subject: [PATCH] * Fix bug #36374. --- module/program/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/program/control.php b/module/program/control.php index 4f6fc2e2a4..a5f70686ac 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -75,7 +75,7 @@ class program extends control } /* Get PM id list. */ - $accounts = array_unique(array_column($programs, 'PM')); + $accounts = array_unique(array_column(json_decode(json_encode($programs), true), 'PM')); $hasProject = false; foreach($programs as $program) {