forked from extern/egroupware
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 (!(int)$rights)
|
||||||
{
|
{
|
||||||
if (count($ids) > 1)
|
if (count((array)$ids) > 1)
|
||||||
{
|
{
|
||||||
$msg = lang('%1 ACL entries deleted.', count($ids));
|
$msg = lang('%1 ACL entries deleted.', count($ids));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user