mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given
This commit is contained in:
parent
b6398c4059
commit
1d50c1ca91
@ -290,7 +290,7 @@ class admin_categories
|
||||
}
|
||||
if($this->appname == 'admin' || ($content['id'] && !((int)$content['owner'] > 0)))
|
||||
{
|
||||
if($content['owner'] > 0)
|
||||
if((int)$content['owner'] > 0)
|
||||
{
|
||||
$content['msg'] .= "\n".lang('owner "%1" removed, please select group-owner', Api\Accounts::username($content['owner']));
|
||||
$content['owner'] = 0;
|
||||
@ -861,4 +861,4 @@ class admin_categories
|
||||
}
|
||||
}
|
||||
|
||||
admin_categories::init_static();
|
||||
admin_categories::init_static();
|
Loading…
Reference in New Issue
Block a user