diff --git a/app/Models/Closet.php b/app/Models/Closet.php index 741292bc..e09e8d77 100644 --- a/app/Models/Closet.php +++ b/app/Models/Closet.php @@ -111,7 +111,7 @@ class Closet } $this->textures->push([ - 'tid' => $tid, + 'tid' => (int) $tid, 'name' => $name, 'add_at' => time() ]);