From 062571354f246ac8ead6d5b10981949182152799 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Tue, 21 Feb 2023 19:05:27 +0400 Subject: [PATCH] fix deprecation message in PHP8.1+ --- .../components/com_jedchecker/libraries/rules/xmlinfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlinfo.php b/administrator/components/com_jedchecker/libraries/rules/xmlinfo.php index 28ce117..5f41399 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlinfo.php +++ b/administrator/components/com_jedchecker/libraries/rules/xmlinfo.php @@ -319,7 +319,7 @@ class JedcheckerRulesXMLinfo extends JEDcheckerRule if (isset($xml->languages)) { - $folder = trim($xml->languages['folder'], '/'); + $folder = trim((string)$xml->languages['folder'], '/'); foreach ($xml->languages->language as $language) {