From a47809ba2a09cd8b7a82ba200759337242625ee5 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 6 Nov 2024 17:37:14 +0100 Subject: [PATCH] fix Api\Accounts::hidden2account_id(): Argument #2 ($account_ids) must be of type ?array, int given --- api/src/Accounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Accounts.php b/api/src/Accounts.php index a0c0303cdc..aac11b8cd8 100644 --- a/api/src/Accounts.php +++ b/api/src/Accounts.php @@ -291,7 +291,7 @@ class Accounts // implement $param['hidden'] via $param['account_id'] if (isset($param['hidden']) && !in_array($param['type'],['groups', 'owngroups'])) { - $param['account_id'] = self::hidden2account_id($param['hidden'], $param['account_id']); + $param['account_id'] = self::hidden2account_id($param['hidden'], (array)$param['account_id']); } unset($param['hidden']);