From e13aba460f9ae555c154e68a99e8c3c3b7cc812c Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 8 Feb 2021 11:07:32 +0100 Subject: [PATCH] Stuff --- app/Http/Resources/Gallery.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Resources/Gallery.php b/app/Http/Resources/Gallery.php index f604406..b9a21ff 100644 --- a/app/Http/Resources/Gallery.php +++ b/app/Http/Resources/Gallery.php @@ -31,6 +31,7 @@ class Gallery extends JsonResource "big" => url("/".$this->getTenant()->url."/".$this->url."/".$this->main_image."/file?size=big") ]]; $data["description"] = $this->description; + $t = json_decode($this->tags); if(is_array($t)) { foreach ($t as $i => $g) {