aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
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'] )
));