mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 02:10:37 +02:00
Error in Monstra Notifications #339
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
<div class="col-md-12">
|
||||
<?php
|
||||
// Monstra Notifications
|
||||
Notification::get('error') AND $error = Notification::get('error');
|
||||
echo '<div class="error margin-bottom-1">'.$error."</div>";
|
||||
$error = Notification::get('error') ?: '';
|
||||
($error != '') AND print('<div class="error margin-bottom-1">'.$error.'</div>');
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,8 +2,8 @@
|
||||
<div class="col-md-12">
|
||||
<?php
|
||||
// Monstra Notifications
|
||||
Notification::get('success') AND $success = Notification::get('success');
|
||||
echo '<div class="success margin-bottom-1">'.$success."</div>";
|
||||
$success = Notification::get('success') ?: '';
|
||||
($success != '') AND print('<div class="success margin-bottom-1">'.$success.'</div>');
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user