From 6fcad290a4f5bf3c1341d594309e89f33aa2df97 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Fri, 27 May 2016 15:50:51 +0200 Subject: [PATCH 1/2] Frio: Fix warnings in config page --- view/theme/frio/config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view/theme/frio/config.php b/view/theme/frio/config.php index cb4610e590..2e896d45f6 100644 --- a/view/theme/frio/config.php +++ b/view/theme/frio/config.php @@ -36,6 +36,7 @@ function frio_form(&$a, $arr) { $scheme_info = get_schema_info($arr["schema"]); $disable = $scheme_info["overwrites"]; + if (!is_array($disable)) $disable = array(); $scheme_choices = array(); $scheme_choices["---"] = t("Default"); From e568020718c351bf64e8b2cb678427750b498ed6 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Fri, 27 May 2016 15:53:11 +0200 Subject: [PATCH 2/2] Frio: remove header(location) in default.php The call to header() is too late in code (output was already sent) --- view/theme/frio/php/modes/default.php | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/frio/php/modes/default.php b/view/theme/frio/php/modes/default.php index e5971aefa9..6f9c1a4b06 100644 --- a/view/theme/frio/php/modes/default.php +++ b/view/theme/frio/php/modes/default.php @@ -44,7 +44,6 @@ else echo""; } ?> - Skip to main content