From 407632861337317b976406e3c22b85a3769d92ac Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 13 Dec 2006 13:39:00 +0000 Subject: [PATCH] fixed not working selection of multiple org's in org-view --- addressbook/inc/class.uicontacts.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index 5c961e42e0..e3383f0aa8 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -335,7 +335,7 @@ class uicontacts extends bocontacts */ function action($action,$checked,$use_all,&$success,&$failed,&$action_msg,$session_name) { - //echo "

uicontacts::action('$action',".print_r($checked,true).','.(int)$use_all.",...)

\n"; + //echo "

uicontacts::action('$action',".print_r($checked,true).','.(int)$use_all.",...)

\n"; $success = $failed = 0; if ($use_all) @@ -351,7 +351,7 @@ class uicontacts extends bocontacts { if (substr($id,0,9) == 'org_name:') { - if (count($checked) == 1) + if (count($checked) == 1 && !count($org_contacts)) { return $this->infolog_org_view($id); // uses the org-name, instead of 'selected contacts' } @@ -364,7 +364,7 @@ class uicontacts extends bocontacts } } if ($org_contacts) $checked = array_unique($checked ? array_merge($checked,$org_contacts) : $org_contacts); - //_debug_array($checked); return false; + //_debug_array($checked); exit; switch($action) {