mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-27 00:33:17 +00:00
Merge pull request #864 from pixelfed/frontend-ui-refactor
Update ProfileController
This commit is contained in:
commit
b7d49b8e21
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue