aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-11 03:35:33 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-11 03:35:33 -0700
commita6cde63fd87f003f8678247a25ecd883cd019689 (patch)
treec5cec486f226cd42452b4116ca1a2d7b54a17866 /mod/contacts.php
parentc2106cb9df63a79ec9770a8f551053bcf192345f (diff)
downloadvolse-hubzilla-a6cde63fd87f003f8678247a25ecd883cd019689.tar.gz
volse-hubzilla-a6cde63fd87f003f8678247a25ecd883cd019689.tar.bz2
volse-hubzilla-a6cde63fd87f003f8678247a25ecd883cd019689.zip
fix register loophole
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index 5bf906e06..999617aa1 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -176,7 +176,8 @@ function contacts_content(&$a) {
'$photo' => $r[0]['photo'],
'$name' => $r[0]['name'],
'$dir_icon' => $dir_icon,
- '$alt_text' => $alt_text
+ '$alt_text' => $alt_text,
+ '$url' => (($direction != DIRECTION_IN) ? "redir/{$r[0]['id']}" : $r[0]['url'] )
));