aboutsummaryrefslogtreecommitdiffstats
path: root/mod/acl.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/acl.php')
-rw-r--r--mod/acl.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/acl.php b/mod/acl.php
index 51aa7651b..9d13811a7 100644
--- a/mod/acl.php
+++ b/mod/acl.php
@@ -20,7 +20,6 @@ function acl_init(&$a){
$search = $_REQUEST['query'];
}
-logger("acl: $search");
if(! (local_user() || $type == 'x'))
return "";
@@ -170,7 +169,7 @@ logger("acl: $search");
foreach($r as $g) {
$x['photos'][] = $g['micro'];
$x['links'][] = $g['url'];
- $x['suggestions'][] = $g['name'];
+ $x['suggestions'][] = (($type === 'x') ? '@' : '') . $g['name'];
$x['data'][] = intval($g['id']);
}
}