mirror of
https://github.com/flarum/framework.git
synced 2025-03-11 04:35:16 +08:00
Use the settings repository's default value
Updates commit 860ac26841fbe3b088f75bdd79da578fa35c6b48.
This commit is contained in:
parent
eb4796ef69
commit
7850fc3b52
@ -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', '');
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user