fix(skinlib): cast allow_downloading_texture to boolean
This commit is contained in:
parent
fe7307d655
commit
1a7f76ea69
|
|
@ -134,7 +134,7 @@ class SkinlibController extends Controller
|
|||
->with('texture', $texture)
|
||||
->with('grid', $grid)
|
||||
->with('extra', [
|
||||
'download' => option('allow_downloading_texture'),
|
||||
'download' => (bool) option('allow_downloading_texture'),
|
||||
'currentUid' => $user ? $user->uid : 0,
|
||||
'admin' => $user && $user->isAdmin(),
|
||||
'inCloset' => $user && $user->closet()->where('tid', $texture->tid)->count() > 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user