From b01ca0e345ad1f4b803f15ecb920330c1d847542 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 9 Nov 2012 00:21:16 -0800 Subject: [PATCH] what happened to the photos page vcard? --- mod/photos.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index 12ca99e60f..08dc0e0fc5 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -27,12 +27,13 @@ function photos_init(&$a) { if(! count($r)) return; + $a->data['user'] = $r[0]; + $o .= '
'; $o .= '
' . $a->data['user']['username'] . '
'; $o .= '
' . $a->data['user']['username'] . '
'; $o .= '
'; - $a->data['user'] = $r[0]; $sql_extra = permissions_sql($a->data['user']['uid']);