fix for bug reported on the developers list

This commit is contained in:
Ralf Becker 2007-06-22 12:49:59 +00:00
parent fe4f9eabdd
commit 6a2718b2ba

View File

@ -14,7 +14,8 @@ if((int)$GLOBALS['hook_values']['account_id'] > 0)
{ {
require_once(EGW_INCLUDE_ROOT.'/infolog/inc/class.soinfolog.inc.php'); 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']); $info->change_delete_owner((int)$GLOBALS['hook_values']['account_id'],(int)$_POST['new_owner']);