mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Fixes #204
This commit is contained in:
parent
9e9b424f88
commit
5a356ef14b
@ -113,7 +113,7 @@ class DashSettingsController extends Controller
|
||||
*/
|
||||
public function postSettings()
|
||||
{
|
||||
if (Input::get('remove_banner') == "1") {
|
||||
if (Input::has('remove_banner') && Input::get('remove_banner') == "1") {
|
||||
$setting = Setting::where('name', 'app_banner');
|
||||
$setting->delete();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user