aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/MessageBox.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-07-11 09:45:39 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-07-11 09:45:39 +0000
commitfa3717944a1e7f152dcf6d66e5660c632affba90 (patch)
tree66c0f771083f42ea20991376006fa4b9c725acae /lib/classes/MessageBox.php
parentae61e7fbdffe7640dd5b6f4cbc82fd6a1eb60487 (diff)
show system notification's details as before, fixes #4388
Closes #4388 Merge request studip/studip!3200
Diffstat (limited to 'lib/classes/MessageBox.php')
-rw-r--r--lib/classes/MessageBox.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/classes/MessageBox.php b/lib/classes/MessageBox.php
index 8c203a5..b2854d8 100644
--- a/lib/classes/MessageBox.php
+++ b/lib/classes/MessageBox.php
@@ -178,10 +178,11 @@ class MessageBox implements LayoutMessage, JsonSerializable
public function jsonSerialize(): mixed
{
return [
- 'type' => $this->class,
- 'message' => $this->message,
- 'details' => $this->details,
- 'closeable' => $this->isCloseable(),
+ 'type' => $this->class,
+ 'message' => $this->message,
+ 'details' => $this->details,
+ 'close_details' => $this->close_details,
+ 'closeable' => $this->isCloseable(),
];
}
}