From c6267a2cd2e3a731f44df9288ced508ad90c4ca3 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 13 Jul 2010 02:00:53 -0700 Subject: turn groups back into numbers --- view/acl_selectors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/acl_selectors.php') diff --git a/view/acl_selectors.php b/view/acl_selectors.php index 7a8072af6..e5df4c65e 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -13,12 +13,12 @@ function group_select($selname,$selclass,$preselected = false) { if(count($r)) { foreach($r as $rr) { - if((is_array($preselected)) && in_array($rr['name'], $preselected)) + if((is_array($preselected)) && in_array($rr['id'], $preselected)) $selected = " selected=\"selected\" "; else $selected = ''; - $o .= "\r\n"; + $o .= "\r\n"; } } -- cgit v1.2.3