Skip to content
Snippets Groups Projects
Unverified Commit 513d2a59 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix undefined offset

Items in $warnings should either be a string or an array with two values
parent 0e896e8b
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ $allLinks = [ ...@@ -61,7 +61,7 @@ $allLinks = [
$current = $config->getVersion(); $current = $config->getVersion();
if ($config->getBoolean('admin.checkforupdates', true) && $current !== 'master') { if ($config->getBoolean('admin.checkforupdates', true) && $current !== 'master') {
if (!function_exists('curl_init')) { if (!function_exists('curl_init')) {
$warnings[] = ['{core:frontpage:warnings_curlmissing}']; $warnings[] = '{core:frontpage:warnings_curlmissing}';
} else { } else {
$latest = $session->getData("core:latest_simplesamlphp_version", "version"); $latest = $session->getData("core:latest_simplesamlphp_version", "version");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment