Skip to content

Commit

Permalink
Remove deprecated curly bracket addressing
Browse files Browse the repository at this point in the history
So it will be usable with PHP 8
  • Loading branch information
sebbrandt87 authored Sep 18, 2021
1 parent 60d2894 commit 6d00b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion membership.civix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d00b14

Please sign in to comment.