From 43cece800a15da082a50c7f284ca822b150c1587 Mon Sep 17 00:00:00 2001 From: Hoochicken Date: Fri, 6 Oct 2023 17:34:18 +0200 Subject: [PATCH] Update mod_weblinks.php Php 8.1-Fix cast string for htmlspecialchars() --- src/modules/mod_weblinks/mod_weblinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mod_weblinks/mod_weblinks.php b/src/modules/mod_weblinks/mod_weblinks.php index 7050b38..e181840 100644 --- a/src/modules/mod_weblinks/mod_weblinks.php +++ b/src/modules/mod_weblinks/mod_weblinks.php @@ -19,6 +19,6 @@ if (!count($list)) return; } -$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); +$moduleclass_sfx = htmlspecialchars((string)$params->get('moduleclass_sfx')); require JModuleHelper::getLayoutPath('mod_weblinks', $params->get('layout', 'default'));