aboutsummaryrefslogtreecommitdiff
path: root/lib/classes
diff options
context:
space:
mode:
authorMurtaza Sultani <sultani@data-quest.de>2025-07-23 12:00:18 +0200
committerMurtaza Sultani <sultani@data-quest.de>2025-07-23 12:00:18 +0200
commitb49f6aa3258bf3f629dfd951e60ac0e8a97f5468 (patch)
tree7c1066249c7bdef8a027ef3b7b7786646f7ae892 /lib/classes
parent77312fec6b2a4271e36582e155693c81be73b675 (diff)
Resolve "Forum 3/OpenGraph: Leere Objekte sollen nicht angezeigt werden"
Closes #5744 Merge request studip/studip!4378
Diffstat (limited to 'lib/classes')
-rw-r--r--lib/classes/JsonApi/Schemas/Forum/ForumPosting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Schemas/Forum/ForumPosting.php b/lib/classes/JsonApi/Schemas/Forum/ForumPosting.php
index 5506f55..a03e75d 100644
--- a/lib/classes/JsonApi/Schemas/Forum/ForumPosting.php
+++ b/lib/classes/JsonApi/Schemas/Forum/ForumPosting.php
@@ -46,7 +46,7 @@ class ForumPosting extends SchemaProvider
'title' => $og['title'],
'description' => $og['description'],
'image' => $og['image'],
- ], $posting->getOpenGraphURLs()->toArray())
+ ], $posting->getOpenGraphURLs())
];
}