diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-24 15:32:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-24 15:32:24 -0700 |
commit | 8face5a66c82e7086c379ca4b07f178a85a781b3 (patch) | |
tree | f617c210b1abb8bb8790c8a7aeb8c677d20d5f5d /Zotlabs/Module | |
parent | a6c42e875633e8e67bbf93425182cce4de3eb653 (diff) | |
download | volse-hubzilla-8face5a66c82e7086c379ca4b07f178a85a781b3.tar.gz volse-hubzilla-8face5a66c82e7086c379ca4b07f178a85a781b3.tar.bz2 volse-hubzilla-8face5a66c82e7086c379ca4b07f178a85a781b3.zip |
make tag autocomplete less scary looking in the editor. If this works out we can simplify and get rid of a huge amount of spaghetti tag logic.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Acl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php index 4c5883e88..35594ae9f 100644 --- a/Zotlabs/Module/Acl.php +++ b/Zotlabs/Module/Acl.php @@ -354,7 +354,7 @@ class Acl extends \Zotlabs\Web\Controller { "name" => $g['name'] . (($type === 'f') ? '' : '+'), "id" => urlencode($g['id']) . (($type === 'f') ? '' : '+'), "xid" => $g['hash'], - "link" => $g['nick'], + "link" => (($g['nick']) ? $g['nick'] : $g['url']), "nick" => substr($g['nick'],0,strpos($g['nick'],'@')), "self" => (intval($g['abook_self']) ? 'abook-self' : ''), "taggable" => 'taggable', @@ -368,7 +368,7 @@ class Acl extends \Zotlabs\Web\Controller { "name" => $g['name'], "id" => urlencode($g['id']), "xid" => $g['hash'], - "link" => $g['nick'], + "link" => (($g['nick']) ? $g['nick'] : $g['url']), "nick" => (($g['nick']) ? substr($g['nick'],0,strpos($g['nick'],'@')) : $g['nick']), "self" => (intval($g['abook_self']) ? 'abook-self' : ''), "taggable" => '', |