mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update ProfileController
This commit is contained in:
parent
e5b7c3c97d
commit
74268874ca
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class ProfileController extends Controller
|
||||||
{
|
{
|
||||||
public function show(Request $request, $username)
|
public function show(Request $request, $username)
|
||||||
{
|
{
|
||||||
$user = Profile::whereUsername($username)->firstOrFail();
|
$user = Profile::whereNull('domain')->whereUsername($username)->firstOrFail();
|
||||||
if($user->status != null) {
|
if($user->status != null) {
|
||||||
return $this->accountCheck($user);
|
return $this->accountCheck($user);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue