fix [#51] | deprecated use of curly braces

This commit is contained in:
Marc Michalsky 2021-08-31 11:19:57 +02:00
parent e01b1ef8f3
commit 14bda1a3eb

View file

@ -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;