diff --git a/membership.civix.php b/membership.civix.php index fc1290d..5dcac84 100644 --- a/membership.civix.php +++ b/membership.civix.php @@ -243,7 +243,7 @@ function _membership_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;