Skip to content

Commit

Permalink
Merge pull request #3016 from hensur/stylesheet-fix-23
Browse files Browse the repository at this point in the history
Backport stylesheet fix #3014 to 2.3
  • Loading branch information
jbrooksuk committed Apr 19, 2018
2 parents 0c72e5e + 58a212c commit 749c831
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/Http/Controllers/Dashboard/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,14 @@ public function postSettings()
}
}

if (isset($parameters['stylesheet'])) {
if ($stylesheet = Binput::get('stylesheet', null, false, false)) {
$setting->set('stylesheet', $stylesheet);
} else {
$setting->delete('stylesheet');
}
}

if (Binput::hasFile('app_banner')) {
$this->handleUpdateBanner($setting);
}
Expand All @@ -284,6 +292,7 @@ public function postSettings()
'remove_banner',
'header',
'footer',
'stylesheet',
];

try {
Expand Down

0 comments on commit 749c831

Please sign in to comment.