diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2025-07-23 12:00:18 +0200 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2025-07-23 12:00:18 +0200 |
| commit | b49f6aa3258bf3f629dfd951e60ac0e8a97f5468 (patch) | |
| tree | 7c1066249c7bdef8a027ef3b7b7786646f7ae892 /lib/classes | |
| parent | 77312fec6b2a4271e36582e155693c81be73b675 (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.php | 2 |
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()) ]; } |
