Cast extra to array to avoid error if documentation tab is not there

This commit is contained in:
nathangray 2018-09-06 10:42:33 -06:00
parent ccbb0f4d56
commit 75e1a8bb3f

View File

@ -261,7 +261,7 @@ class admin_account
} }
if ($content['delete']) 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(); $msg = $cmd->run();
if ($content['contact_id']) if ($content['contact_id'])
{ {