diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-10 05:58:22 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-10 05:58:22 -0700 |
commit | 04e65823d70d448400d3be7f0b3244ea8658834d (patch) | |
tree | e0c62cb3493c0026f39ee0077cba67edd935f632 /view/acl_selectors.php | |
parent | 503f403b3b2bb45cd98ef8e9d4fd2e2103306019 (diff) | |
download | volse-hubzilla-04e65823d70d448400d3be7f0b3244ea8658834d.tar.gz volse-hubzilla-04e65823d70d448400d3be7f0b3244ea8658834d.tar.bz2 volse-hubzilla-04e65823d70d448400d3be7f0b3244ea8658834d.zip |
more post branch bug fixes
Diffstat (limited to 'view/acl_selectors.php')
-rw-r--r-- | view/acl_selectors.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/acl_selectors.php b/view/acl_selectors.php index 71c244721..c0d3ddcd4 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -46,7 +46,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p $o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n"; } - $r = q("SELECT `id`, `name` FROM `contact` + $r = q("SELECT `id`, `name`, `url` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 $sql_extra ORDER BY `name` ASC ", @@ -59,7 +59,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p $selected = " selected=\"selected\" "; else $selected = ''; - $o .= "<option value=\"{$rr['id']}\" $selected >{$rr['name']}</option>\r\n"; + $o .= "<option value=\"{$rr['id']}\" $selected title=\"{$rr['url']}\" >{$rr['name']}</option>\r\n"; } } |