diff --git a/app/Listeners/Menu/ShowInNotifications.php b/app/Listeners/Menu/ShowInNotifications.php index db5168fdc..1c6f5103d 100644 --- a/app/Listeners/Menu/ShowInNotifications.php +++ b/app/Listeners/Menu/ShowInNotifications.php @@ -32,7 +32,12 @@ class ShowInNotifications foreach ($updates as $key => $update) { $prefix = ($key == 'core') ? 'core' : 'module'; - $name = ($prefix == 'core') ? 'Akaunting' : module($key)->getName(); + + if ($prefix == 'module' && ! module($key)) { + continue; + } + + $name = ($prefix == 'core') ? 'Akaunting' : module($key)?->getName(); $new = new DatabaseNotification(); $new->id = $key; diff --git a/resources/views/auth/users/edit.blade.php b/resources/views/auth/users/edit.blade.php index 3908a8787..25136a84f 100644 --- a/resources/views/auth/users/edit.blade.php +++ b/resources/views/auth/users/edit.blade.php @@ -16,7 +16,7 @@ @if (user()->id == $user->id) - + @endif diff --git a/resources/views/components/form/accordion/head.blade.php b/resources/views/components/form/accordion/head.blade.php index bb4d36897..0a1b81c40 100644 --- a/resources/views/components/form/accordion/head.blade.php +++ b/resources/views/components/form/accordion/head.blade.php @@ -4,7 +4,7 @@ @if (! empty($description)) - + {!! $description !!} @endif diff --git a/resources/views/components/form/section/head.blade.php b/resources/views/components/form/section/head.blade.php index 3b25475cc..08120159b 100644 --- a/resources/views/components/form/section/head.blade.php +++ b/resources/views/components/form/section/head.blade.php @@ -4,7 +4,7 @@ @if (!empty($description)) - + {!! $description !!} @endif diff --git a/resources/views/components/show/accordion/head.blade.php b/resources/views/components/show/accordion/head.blade.php index 69af6ca93..f81998840 100644 --- a/resources/views/components/show/accordion/head.blade.php +++ b/resources/views/components/show/accordion/head.blade.php @@ -6,7 +6,7 @@ @if (! empty($description)) - + {!! $description !!} @endif