From 59befaf59f39806cea88b9e6ac1f8918672fe176 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 13 Jan 2021 15:38:44 +0100 Subject: [PATCH] fix warning --- scripts/check_package-xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_package-xml.php b/scripts/check_package-xml.php index e422c6a..4ff8e4a 100755 --- a/scripts/check_package-xml.php +++ b/scripts/check_package-xml.php @@ -33,7 +33,7 @@ if (($xml = simplexml_load_file($file))) { } } else { $base = basename($file); - if ($base{0} !== ".") { + if ($base[0] !== ".") { array_push($dirs, $file); } } -- 2.30.2