aboutsummaryrefslogtreecommitdiff
path: root/templates/top.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/top.inc.php')
-rw-r--r--templates/top.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 633e3f8..b886e76 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -63,10 +63,10 @@ if(!isset($_GET['popup'])) {
if (isset($subtitle)) {
echo '<h2>'. $subtitle ."</h2>\n";
}
-if (isset($error)) {
+if (isset($error) && $msg!='') {
echo '<p class="error">'. $error ."</p>\n";
}
-if (isset($msg)) {
+if (isset($msg) && $msg!='') {
echo '<p class="success">'. $msg ."</p>\n";
}
?> \ No newline at end of file