Skip to content

Commit

Permalink
Remove deprecated curly bracket addressing
Browse files Browse the repository at this point in the history
So it will work with PHP 8
  • Loading branch information
sebbrandt87 committed Sep 18, 2021
1 parent ac40472 commit 29db6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sepapp.civix.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function _sepapp_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 29db6d5

Please sign in to comment.