aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/forms/Form.php
diff options
context:
space:
mode:
authorAndré Noack <noack@data-quest.de>2024-12-12 14:52:00 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-12-12 14:52:00 +0000
commit940d2aaa8638b4e0c764579cb3977e7be527c81f (patch)
tree79bd2d7f02359e1bb24931b33513e082f8404a91 /lib/classes/forms/Form.php
parent3a2a88172ccbe97aaecf4ea32b97cd07b92dcb11 (diff)
StEP 1552 closes #1552
Closes #1552 Merge request studip/studip!1137
Diffstat (limited to 'lib/classes/forms/Form.php')
-rw-r--r--lib/classes/forms/Form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/forms/Form.php b/lib/classes/forms/Form.php
index 576ea43..e4d4937 100644
--- a/lib/classes/forms/Form.php
+++ b/lib/classes/forms/Form.php
@@ -300,7 +300,7 @@ class Form extends Part
if ($this->success_message) {
\PageLayout::postSuccess($this->success_message);
}
- page_close();
+ sess()->save();
//This indicates that the form has been stored successfully.
echo "STUDIPFORM_STORE_SUCCESS";
die();
@@ -330,7 +330,7 @@ class Form extends Part
}
header('Content-Type: application/json');
echo json_encode($output);
- page_close();
+ sess()->save();
die();
}
return $this;