fixed header new_apps issues..
This commit is contained in:
parent
62bb74d6a0
commit
2bb846d131
@ -71,10 +71,12 @@ class Header
|
||||
|
||||
$new_apps = $this->getNotifications('new-apps');
|
||||
|
||||
if ($new_apps) {
|
||||
foreach ($new_apps as $new_app) {
|
||||
$notifications++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($user->can('read-install-updates')) {
|
||||
$updates = count(Versions::getUpdates());
|
||||
|
Loading…
x
Reference in New Issue
Block a user