mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 8.0 TypeError: implode(): Argument #1 ($pieces) must be of type array, string given
This commit is contained in:
parent
8020301a84
commit
dd74e87a0c
@ -818,9 +818,9 @@ class importexport_definitions_ui
|
||||
if($this->can_edit($content))
|
||||
{
|
||||
$content['owner'] = $content['just_me'] || !$GLOBALS['egw']->acl->check('share_definitions', Acl::READ,'importexport') ?
|
||||
($content['owner'] ? $content['owner'] : $GLOBALS['egw_info']['user']['account_id']) :
|
||||
($content['owner'] ?: $GLOBALS['egw_info']['user']['account_id']) :
|
||||
null;
|
||||
$content['allowed_users'] = $content['just_me'] ? '' : ($content['all_users'] ? 'all' : implode(',',$content['allowed_users']));
|
||||
$content['allowed_users'] = $content['just_me'] ? '' : ($content['all_users'] ? 'all' : implode(',', (array)$content['allowed_users']));
|
||||
unset($content['just_me']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user