fixed header new_apps issues..

This commit is contained in:
Cüneyt Şentürk 2021-06-20 12:19:40 +03:00
parent 62bb74d6a0
commit 2bb846d131

View File

@ -71,10 +71,12 @@ class Header
$new_apps = $this->getNotifications('new-apps'); $new_apps = $this->getNotifications('new-apps');
if ($new_apps) {
foreach ($new_apps as $new_app) { foreach ($new_apps as $new_app) {
$notifications++; $notifications++;
} }
} }
}
if ($user->can('read-install-updates')) { if ($user->can('read-install-updates')) {
$updates = count(Versions::getUpdates()); $updates = count(Versions::getUpdates());