Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -59,11 +59,11 @@ class ImmerseController extends Controller | ... | @@ -59,11 +59,11 @@ class ImmerseController extends Controller |
59 | 'user_id' => $user_id, | 59 | 'user_id' => $user_id, |
60 | 'title' => '', | 60 | 'title' => '', |
61 | 'content' => $validated['content'], | 61 | 'content' => $validated['content'], |
62 | - 'weather' => $validated['weather'], | 62 | + 'weather' => $validated['weather'] ?? '', |
63 | - 'haungli' => $validated['haungli'], | 63 | + 'haungli' => $validated['haungli'] ?? '', |
64 | - 'longitude' => $validated['longitude'], | 64 | + 'longitude' => $validated['longitude'] ?? '', |
65 | - 'latitude' => $validated['latitude'], | 65 | + 'latitude' => $validated['latitude'] ?? '', |
66 | - 'location' => $validated['location'], | 66 | + 'location' => $validated['location'] ?? '', |
67 | 'url' => '', | 67 | 'url' => '', |
68 | 'type' => $validated['type'], | 68 | 'type' => $validated['type'], |
69 | 'upload_file' => $validated['item_url'], | 69 | 'upload_file' => $validated['item_url'], | ... | ... |
-
Please register or login to post a comment