X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=scripts%2Fcheck_package-xml.php;h=4ff8e4a081ad916105c9fa78721c8a9a58135e80;hp=e422c6a993b679961601565940b6fdaa6c489d16;hb=HEAD;hpb=57e944b102006abfa4005337b0ac5901425f4289 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); } }