From 6a2718b2bafc508661287355249c688d42efe9dc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 22 Jun 2007 12:49:59 +0000 Subject: [PATCH] fix for bug reported on the developers list --- infolog/inc/hook_deleteaccount.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infolog/inc/hook_deleteaccount.inc.php b/infolog/inc/hook_deleteaccount.inc.php index c230ad628a..8290b52983 100644 --- a/infolog/inc/hook_deleteaccount.inc.php +++ b/infolog/inc/hook_deleteaccount.inc.php @@ -14,7 +14,8 @@ if((int)$GLOBALS['hook_values']['account_id'] > 0) { require_once(EGW_INCLUDE_ROOT.'/infolog/inc/class.soinfolog.inc.php'); - $info =& new soinfolog; + $grants = array(); + $info =& new soinfolog($grants); $info->change_delete_owner((int)$GLOBALS['hook_values']['account_id'],(int)$_POST['new_owner']);