aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-03 15:43:51 -0700
committerzotlabs <mike@macgirvin.com>2017-10-03 15:43:51 -0700
commitd88d4b3c3ac1cd741f03b667b3d35696ba77d2dd (patch)
tree09e9fbae79fb04255b71ab1e012a4aa1e88367e7
parent58155864cb7318321e70025ce67ca4453efee489 (diff)
downloadvolse-hubzilla-d88d4b3c3ac1cd741f03b667b3d35696ba77d2dd.tar.gz
volse-hubzilla-d88d4b3c3ac1cd741f03b667b3d35696ba77d2dd.tar.bz2
volse-hubzilla-d88d4b3c3ac1cd741f03b667b3d35696ba77d2dd.zip
wrong param
-rw-r--r--Zotlabs/Module/Acl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index ce1064568..e164875e8 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -342,8 +342,8 @@ class Acl extends \Zotlabs\Web\Controller {
"type" => "c",
"photo" => "images/twopeople.png",
"name" => $g['name'] . (($type === 'f') ? '' : '+'),
- "id" => $g['id'] . (($type === 'f') ? '' : '+'),
- "xid" => urlencode($g['hash']),
+ "id" => urlencode($g['id']) . (($type === 'f') ? '' : '+'),
+ "xid" => $g['hash'],
"link" => $g['nick'],
"nick" => substr($g['nick'],0,strpos($g['nick'],'@')),
"self" => (intval($g['abook_self']) ? 'abook-self' : ''),
@@ -356,8 +356,8 @@ class Acl extends \Zotlabs\Web\Controller {
"type" => "c",
"photo" => $g['micro'],
"name" => $g['name'],
- "id" => $g['id'],
- "xid" => urlencode($g['hash']),
+ "id" => urlencode($g['id']),
+ "xid" => $g['hash'],
"link" => $g['nick'],
"nick" => (($g['nick']) ? substr($g['nick'],0,strpos($g['nick'],'@')) : $g['nick']),
"self" => (intval($g['abook_self']) ? 'abook-self' : ''),