From 0baffcc5cf91b428ab1276d10d83f17ebc6c8870 Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Fri, 3 Jun 2016 15:25:59 +0200 Subject: [PATCH] Check first if value exists --- rcc/ssl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcc/ssl.php b/rcc/ssl.php index 0923208..9c2f971 100644 --- a/rcc/ssl.php +++ b/rcc/ssl.php @@ -3,7 +3,7 @@ // License: MIT License // SSL Verification -if ($settings["rcc"]["debug"] != "on") { +if (isset($settings["rcc"]["debug"]) && $settings["rcc"]["debug"] != "on") { if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on") { header('HTTP/1.1 400 Bad Request'); exit();