diff --git a/framework/core/src/Forum/ForumServiceProvider.php b/framework/core/src/Forum/ForumServiceProvider.php index 994092f4d..cdb4e0e48 100644 --- a/framework/core/src/Forum/ForumServiceProvider.php +++ b/framework/core/src/Forum/ForumServiceProvider.php @@ -94,7 +94,7 @@ class ForumServiceProvider extends AbstractServiceProvider $assets->css(function (SourceCollector $sources) { $sources->addFile(__DIR__.'/../../less/forum.less'); $sources->addString(function () { - return $this->app->make(SettingsRepositoryInterface::class)->get('custom_less') ?? ''; + return $this->app->make(SettingsRepositoryInterface::class)->get('custom_less', ''); }); });