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 bf2c5a5564.
This commit is contained in:
Franz Liedke
2019-05-24 17:57:33 +02:00
parent d3be186fb6
commit 1c1d661bdd

View File

@@ -94,7 +94,7 @@ class ForumServiceProvider extends AbstractServiceProvider
$assets->css(function (SourceCollector $sources) { $assets->css(function (SourceCollector $sources) {
$sources->addFile(__DIR__.'/../../less/forum.less'); $sources->addFile(__DIR__.'/../../less/forum.less');
$sources->addString(function () { $sources->addString(function () {
return $this->app->make(SettingsRepositoryInterface::class)->get('custom_less') ?? ''; return $this->app->make(SettingsRepositoryInterface::class)->get('custom_less', '');
}); });
}); });