Merge pull request #19722 from civicrm/5.35
[civicrm-core.git] / ext / sequentialcreditnotes / sequentialcreditnotes.civix.php
index 09228ba9d62bc3be2fbabf71415381c660d1b8f6..891a0c069c78c9401f572235ffe8f1fba20a4c78 100644 (file)
@@ -244,7 +244,7 @@ function _sequentialcreditnotes_civix_find_files($dir, $pattern) {
     if ($dh = opendir($subdir)) {
       while (FALSE !== ($entry = readdir($dh))) {
         $path = $subdir . DIRECTORY_SEPARATOR . $entry;
-        if ($entry{0} == '.') {
+        if ($entry[0] == '.') {
         }
         elseif (is_dir($path)) {
           $todos[] = $path;