diff --git a/libraries/cms/application/cms.php b/libraries/cms/application/cms.php index c55d6b33a784f..3d71c16606377 100644 --- a/libraries/cms/application/cms.php +++ b/libraries/cms/application/cms.php @@ -292,7 +292,7 @@ public function checkSession() * * @since 3.2 */ - public function enqueueMessage($msg, $type = 'success') + public function enqueueMessage($msg, $type = self::MSG_INFO) { // Don't add empty messages. if (!strlen(trim($msg)))