summaryrefslogtreecommitdiffstatshomepage
path: root/templates/top.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/top.inc.php')
-rw-r--r--templates/top.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/top.inc.php b/templates/top.inc.php
index d2f05ea..55f0aaa 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -47,7 +47,7 @@ if(!isset($_GET['popup'])) {
if (isset($subtitle)) {
echo '<h2>'. $subtitle ."</h2>\n";
}
-if (isset($error) && $msg!='') {
+if (isset($error) && $error!='') {
echo '<p class="error">'. $error ."</p>\n";
}
if (isset($msg) && $msg!='') {