only show forum tags on contact autocomplete, not in the ACL selector

This commit is contained in:
friendica 2014-04-13 18:07:19 -07:00
parent 08435e5b1a
commit e3aa7d2aaf

View File

@ -206,7 +206,7 @@ function acl_init(&$a){
if(count($r)) { if(count($r)) {
foreach($r as $g){ foreach($r as $g){
if($g['abook_their_perms'] & PERMS_W_TAGWALL) { if(($g['abook_their_perms'] & PERMS_W_TAGWALL) && $type == 'c') {
$contacts[] = array( $contacts[] = array(
"type" => "c", "type" => "c",
"photo" => "images/twopeople.png", "photo" => "images/twopeople.png",