diff --git a/core/default_settings/default_settings.php b/core/default_settings/default_settings.php index bea0df4cb5..f30efb52c5 100644 --- a/core/default_settings/default_settings.php +++ b/core/default_settings/default_settings.php @@ -186,6 +186,7 @@ if (sizeof($_REQUEST) > 0) { else { // set message $_SESSION["message"] = $text['message-delete_failed']; + $_SESSION["message_mood"] = "negative"; } header("Location: default_settings.php"); diff --git a/core/notifications/notification_edit.php b/core/notifications/notification_edit.php index cf0a6729e0..0c0605599f 100644 --- a/core/notifications/notification_edit.php +++ b/core/notifications/notification_edit.php @@ -263,6 +263,7 @@ else { $project_news == 'false' ) { $_SESSION["message"] = $_SESSION["message"]." - ".$text['message-no_channels']; + $_SESSION["message_mood"] = 'alert'; } // redirect header("Location: notification_edit.php"); diff --git a/core/users/usersupdate.php b/core/users/usersupdate.php index c118fa4827..02f33001e3 100644 --- a/core/users/usersupdate.php +++ b/core/users/usersupdate.php @@ -132,6 +132,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") { if ($msg_error) { $_SESSION["message"] = $msg_error; + $_SESSION["message_mood"] = 'negative'; header("Location: usersupdate.php?id=".$user_uuid); exit; }