Merge pull request #864 from pixelfed/frontend-ui-refactor

Update ProfileController
pull/904/head
daniel 6 years ago committed by GitHub
commit b7d49b8e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ class ProfileController extends Controller
{
public function show(Request $request, $username)
{
$user = Profile::whereUsername($username)->firstOrFail();
$user = Profile::whereNull('domain')->whereUsername($username)->firstOrFail();
if($user->status != null) {
return $this->accountCheck($user);
} else {

Loading…
Cancel
Save