From c8b165acaeae6753b9955060422775548205f616 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 10 Jul 2004 07:50:16 +0000 Subject: [PATCH] fixed typo --- phpgwapi/inc/class.uiaccountsel.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.uiaccountsel.inc.php b/phpgwapi/inc/class.uiaccountsel.inc.php index d7575c5b73..eeaa5ec85d 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -62,12 +62,12 @@ * @param $onchange javascript to execute if the selection changes, eg. to reload the page * @param $select array/bool/string array with id's as keys or values. If the id is in the key and the value is a string, * it gets appended to the user-name. Or false if the selectable values for the selectbox are determined by use. - * Or a string whith get added as first Option with value=0, eg. lang('all') + * Or a string which gets added as first Option with value=0, eg. lang('all') * @return the necessary html */ function selection($name,$element_id,$selected,$use='accounts',$lines=1,$not=False,$options='',$onchange='',$select=False) { - //echo "

uiaccountsel::selection('$name',".print_r($selected,True).",'$use',$lines,$not,'$options')

\n"; + //echo "

uiaccountsel::selection('$name',".print_r($selected,True).",'$use',$lines,$not,'$options','$onchange',".print_r($select,True).")

\n"; if (!is_array($selected)) { $selected = $selected ? explode(',',$selected) : array(); @@ -109,7 +109,7 @@ { foreach($members as $member) { - if (!in_array($member['account_id'],$use)) + if (!in_array($member['account_id'],$select)) { $select[] = $member['account_id']; }