Update mod_weblinks.php Php 8.1-Fix

cast string for htmlspecialchars()
This commit is contained in:
Hoochicken 2023-10-06 17:34:18 +02:00 committed by GitHub
parent 7546a4867c
commit 43cece800a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'));