From: Michael Wallner Date: Wed, 13 Jan 2021 14:38:44 +0000 (+0100) Subject: fix warning X-Git-Tag: RELEASE_3_2_4~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=59befaf59f39806cea88b9e6ac1f8918672fe176;p=m6w6%2Fext-http fix warning --- 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); } }