Fix adding private textures to closet for admins
This commit is contained in:
parent
6448b3bbab
commit
7cf044b2ce
@ -63,7 +63,7 @@ class Closet
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($t->public == 0 && $t->uploader != $uid) {
|
||||
if ($t->public == 0 && $t->uploader != $uid && !app('users')->get($uid)->isAdmin()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user