aboutsummaryrefslogtreecommitdiffstats
path: root/mod/acl.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-26 15:14:12 -0700
committerFriendika <info@friendika.com>2011-10-26 15:14:12 -0700
commit2d22a58324194ebb37b042658db5a8fc2d94b3a7 (patch)
treee89ebc83c48863b03181eecd7f31002c45e44ccb /mod/acl.php
parent1aba538c96628468b84136386496ccc69050e810 (diff)
downloadvolse-hubzilla-2d22a58324194ebb37b042658db5a8fc2d94b3a7.tar.gz
volse-hubzilla-2d22a58324194ebb37b042658db5a8fc2d94b3a7.tar.bz2
volse-hubzilla-2d22a58324194ebb37b042658db5a8fc2d94b3a7.zip
@ tag completion enhancements, show url on hover and respect custom attags
Diffstat (limited to 'mod/acl.php')
-rw-r--r--mod/acl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/acl.php b/mod/acl.php
index 07ca096e5..735c2c0b0 100644
--- a/mod/acl.php
+++ b/mod/acl.php
@@ -15,7 +15,7 @@ function acl_init(&$a){
if ($search!=""){
$sql_extra = "AND `name` LIKE '%%".dbesc($search)."%%'";
- $sql_extra2 = "AND (`name` LIKE '%%".dbesc($search)."%%' OR `nick` LIKE '%%".dbesc($search)."%%')";
+ $sql_extra2 = "AND (`attag` LIKE '%%".dbesc($search)."%%' OR `name` LIKE '%%".dbesc($search)."%%' OR `nick` LIKE '%%".dbesc($search)."%%')";
}
// count groups and contacts
@@ -89,7 +89,7 @@ function acl_init(&$a){
"id" => intval($g['id']),
"network" => $g['network'],
"link" => $g['url'],
- "nick" => $g['nick'],
+ "nick" => ($g['attag']) ? $g['attag'] : $g['nick'],
);
}