aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-13 02:00:53 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-13 02:00:53 -0700
commitc6267a2cd2e3a731f44df9288ced508ad90c4ca3 (patch)
tree0558c6669ead159b855e9bd8e63bb24cc8da42f3 /view
parent7e16f8cdae597cc8329c3cc9ce769d512ba84085 (diff)
downloadvolse-hubzilla-c6267a2cd2e3a731f44df9288ced508ad90c4ca3.tar.gz
volse-hubzilla-c6267a2cd2e3a731f44df9288ced508ad90c4ca3.tar.bz2
volse-hubzilla-c6267a2cd2e3a731f44df9288ced508ad90c4ca3.zip
turn groups back into numbers
Diffstat (limited to 'view')
-rw-r--r--view/acl_selectors.php4
1 files changed, 2 insertions, 2 deletions
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 .= "<option value=\"{$rr['name']}\" $selected >{$rr['name']}</option>\r\n";
+ $o .= "<option value=\"{$rr['id']}\" $selected >{$rr['name']}</option>\r\n";
}
}