diff --git a/twingle.civix.php b/twingle.civix.php index 7d5bd46..810a8b8 100644 --- a/twingle.civix.php +++ b/twingle.civix.php @@ -243,7 +243,7 @@ function _twingle_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;