KazV2/dockers/framadate/patch/adminstuds.php.patch

16 lines
572 B
Diff
Raw Normal View History

2024-06-03 18:43:35 +02:00
--- adminstuds.php 2022-02-05 09:09:45.256310389 +0100
+++ adminstuds.php-new 2022-02-05 08:49:40.952269857 +0100
@@ -84,6 +84,12 @@
$message = new Message('success', __('adminstuds', 'The poll is created.'));
}
+$messageBadEmail = $sessionService->get("Framadate", "messageBadEmail", FALSE);
+if ($messageBadEmail) {
+ $sessionService->remove("Framadate", "messageBadEmail");
+ $message = new Message('danger', __('adminstuds', "Bad e-mail. Can't send links"));
+}
+
// -------------------------------
// Update poll info
// -------------------------------