summaryrefslogtreecommitdiffstats
path: root/inc/dashboard.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/dashboard.inc.php')
-rw-r--r--inc/dashboard.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/dashboard.inc.php b/inc/dashboard.inc.php
index 3db42efb..59d81c2d 100644
--- a/inc/dashboard.inc.php
+++ b/inc/dashboard.inc.php
@@ -68,7 +68,7 @@ class Dashboard
'url' => urlencode($_SERVER['REQUEST_URI']),
'langs' => Dictionary::getLanguages(true),
'user' => User::getName(),
- 'warning' => User::getName() !== false && User::getLastSeenEvent() < Property::getLastWarningId(),
+ 'warning' => User::getName() !== false && User::hasPermission('.eventlog.*') && User::getLastSeenEvent() < Property::getLastWarningId(),
'needsSetup' => User::getName() !== false && Property::getNeedsSetup()
));
}