This commit is contained in:
James Brooks 2015-01-01 17:18:31 +00:00
parent 9e9b424f88
commit 5a356ef14b

View File

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