diff --git a/mod/photos.php b/mod/photos.php index a5a1faf2a..dcea99991 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -72,7 +72,7 @@ function photos_init(App $a) { $a->profile_uid = $user['uid']; $is_owner = (local_user() && (local_user() == $a->profile_uid)); - $profile = User::getOwnerDataByNick($nick); + $profile = User::getOwnerDataByNick($nick); $account_type = Contact::getAccountType($profile); diff --git a/mod/videos.php b/mod/videos.php index de421df18..89097f5cd 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -55,7 +55,7 @@ function videos_init(App $a) $a->data['user'] = $user[0]; $a->profile_uid = $user[0]['uid']; - $profile = User::getOwnerDataByNick($nick); + $profile = User::getOwnerDataByNick($nick); $account_type = Contact::getAccountType($profile);