33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-31 21:51:46 +00:00

fix deprecation message in PHP8.1+

This commit is contained in:
Denis Ryabov 2023-02-21 19:05:27 +04:00
parent e290c73f48
commit 062571354f

View File

@ -319,7 +319,7 @@ class JedcheckerRulesXMLinfo extends JEDcheckerRule
if (isset($xml->languages)) if (isset($xml->languages))
{ {
$folder = trim($xml->languages['folder'], '/'); $folder = trim((string)$xml->languages['folder'], '/');
foreach ($xml->languages->language as $language) foreach ($xml->languages->language as $language)
{ {