fix register loophole

This commit is contained in:
Mike Macgirvin 2010-07-11 03:35:33 -07:00
commit a6cde63fd8
2 changed files with 7 additions and 1 deletions

View file

@ -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'] )
));