From e3cae803fbddb66f8a1a2309037fdba5f8965fb9 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 6 Nov 2024 18:10:04 +0100 Subject: [PATCH] calculate positive and negative account_id filter --- 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 aac11b8cd8..5c140dfe02 100644 --- a/api/src/Accounts.php +++ b/api/src/Accounts.php @@ -220,7 +220,7 @@ class Accounts } else { - throw new \InvalidArgumentException(__METHOD__."(): Can NOT have hidden=false AND an account_id filter!"); + $account_ids = array_diff($account_ids, $hidden_account_ids); } return $account_ids; }