only show forum tags on contact autocomplete, not in the ACL selector
This commit is contained in:
parent
08435e5b1a
commit
e3aa7d2aaf
@ -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",
|
||||||
|
Reference in New Issue
Block a user