From 249ac1b505454e16c2e0d9e97bd3537b57db5383 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 5 Nov 2017 19:29:30 +0800 Subject: [PATCH] Fix adding texture to closet --- app/Models/Closet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ]);