summaryrefslogtreecommitdiff
path: root/includes/helper/message_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/helper/message_helper.php')
-rw-r--r--includes/helper/message_helper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/helper/message_helper.php b/includes/helper/message_helper.php
index 613ac32e..1f429c27 100644
--- a/includes/helper/message_helper.php
+++ b/includes/helper/message_helper.php
@@ -8,10 +8,10 @@
function msg()
{
if (!isset($_SESSION['msg'])) {
- return "";
+ return '';
}
$msg = $_SESSION['msg'];
- $_SESSION['msg'] = "";
+ $_SESSION['msg'] = '';
return $msg;
}
@@ -62,14 +62,14 @@ function success($msg, $immediately = false)
function alert($class, $msg, $immediately = false)
{
if ($immediately) {
- if ($msg == "") {
- return "";
+ if ($msg == '') {
+ return '';
}
return '<div class="alert alert-' . $class . '">' . $msg . '</div>';
}
if (!isset($_SESSION['msg'])) {
- $_SESSION['msg'] = "";
+ $_SESSION['msg'] = '';
}
$_SESSION['msg'] .= alert($class, $msg, true);