This commit is contained in:
Kekskurse 2021-02-08 11:07:32 +01:00
parent 6230f7e836
commit e13aba460f

View file

@ -31,6 +31,7 @@ class Gallery extends JsonResource
"big" => url("/".$this->getTenant()->url."/".$this->url."/".$this->main_image."/file?size=big") "big" => url("/".$this->getTenant()->url."/".$this->url."/".$this->main_image."/file?size=big")
]]; ]];
$data["description"] = $this->description; $data["description"] = $this->description;
$t = json_decode($this->tags); $t = json_decode($this->tags);
if(is_array($t)) { if(is_array($t)) {
foreach ($t as $i => $g) { foreach ($t as $i => $g) {