mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Cast extra to array to avoid error if documentation tab is not there
This commit is contained in:
parent
ccbb0f4d56
commit
75e1a8bb3f
@ -261,7 +261,7 @@ class admin_account
|
||||
}
|
||||
if ($content['delete'])
|
||||
{
|
||||
$cmd = new admin_cmd_delete_account($content['account_id'], $content['new_owner'], $content['account_id'] > 0, $content['admin_cmd']);
|
||||
$cmd = new admin_cmd_delete_account($content['account_id'], $content['new_owner'], $content['account_id'] > 0, (array)$content['admin_cmd']);
|
||||
$msg = $cmd->run();
|
||||
if ($content['contact_id'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user