From 265ab3f48e79a2a8458c823d2abbc0a09add6ff7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 27 Apr 2003 22:37:37 +0000 Subject: [PATCH] changes for new hooks --- addressbook/inc/class.uiaddressbook.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index ab24924e69..a6739e85e7 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -1115,8 +1115,10 @@ $this->output .= $GLOBALS['phpgw']->template->fp('out','view_t'); $this->totpl(); - $GLOBALS['ab_id'] = $ab_id; - $GLOBALS['phpgw']->hooks->process('addressbook_view'); + $GLOBALS['phpgw']->hooks->process(array( + 'location' => 'addressbook_view', + 'ab_id' => $ab_id + )); } function html_1button_form($name,$lang,$link)