mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given
This commit is contained in:
parent
f7247a6ea9
commit
933e8a1403
@ -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…
x
Reference in New Issue
Block a user