From 513d2a591d827d5002bda998a98368fd9799261c Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 20 Dec 2018 16:26:30 +0100 Subject: [PATCH] Fix undefined offset Items in $warnings should either be a string or an array with two values --- modules/core/www/frontpage_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php index 7ee0c9150..172b75c4c 100644 --- a/modules/core/www/frontpage_config.php +++ b/modules/core/www/frontpage_config.php @@ -61,7 +61,7 @@ $allLinks = [ $current = $config->getVersion(); if ($config->getBoolean('admin.checkforupdates', true) && $current !== 'master') { if (!function_exists('curl_init')) { - $warnings[] = ['{core:frontpage:warnings_curlmissing}']; + $warnings[] = '{core:frontpage:warnings_curlmissing}'; } else { $latest = $session->getData("core:latest_simplesamlphp_version", "version"); -- GitLab