1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

Use the settings repository's default value

Updates commit 860ac26841.
This commit is contained in:
Franz Liedke
2019-05-24 17:57:33 +02:00
parent eb4796ef69
commit 7850fc3b52

View File

@@ -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', '');
});
});