diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php
index 7ee0c91503b73fee3568dd586ff9e5d8357082ae..172b75c4cb5693bd57eec370b3b2c4c1289ddc42 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");