diff --git a/infolog/inc/hook_deleteaccount.inc.php b/infolog/inc/hook_deleteaccount.inc.php index 5901ac32d1..f886176eed 100644 --- a/infolog/inc/hook_deleteaccount.inc.php +++ b/infolog/inc/hook_deleteaccount.inc.php @@ -15,8 +15,7 @@ { $info =& CreateObject('infolog.soinfolog'); - $info->change_delete_owner((int)$GLOBALS['hook_values']['account_id']), - intval($_POST['new_owner'])); + $info->change_delete_owner((int)$GLOBALS['hook_values']['account_id'],(int)$_POST['new_owner']); unset($info); }