mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Fix type mistake
This commit is contained in:
parent
fdea88eb2b
commit
4311af2a5f
@ -56,7 +56,7 @@ class SkinlibController extends Controller
|
||||
->merge($textures->where('uploader', $this->user->uid));
|
||||
}
|
||||
} else {
|
||||
$textures = $textures->where('public', '1');
|
||||
$textures = $textures->where('public', 1);
|
||||
}
|
||||
|
||||
$total_pages = ceil($textures->count() / 20);
|
||||
@ -88,7 +88,7 @@ class SkinlibController extends Controller
|
||||
} else {
|
||||
$textures = Texture::like('name', $q)
|
||||
->where('type', $filter)
|
||||
->where('public', '1')
|
||||
->where('public', 1)
|
||||
->orderBy($sort_by, 'desc')->get();
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ class SkinlibController extends Controller
|
||||
->merge($textures->where('uploader', $this->user->uid));
|
||||
}
|
||||
} else {
|
||||
$textures = $textures->where('public', '1');
|
||||
$textures = $textures->where('public', 1);
|
||||
}
|
||||
|
||||
return view('skinlib.search')->with('user', $this->user)
|
||||
|
Loading…
Reference in New Issue
Block a user