mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given
This commit is contained in:
parent
b84136cff8
commit
e89aaf7bc9
@ -392,7 +392,7 @@ class admin_acl
|
||||
}
|
||||
if (!(int)$rights)
|
||||
{
|
||||
if (count($ids) > 1)
|
||||
if (count((array)$ids) > 1)
|
||||
{
|
||||
$msg = lang('%1 ACL entries deleted.', count($ids));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user