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 .= '