fix [#51] | deprecated use of curly braces
This commit is contained in:
parent
e01b1ef8f3
commit
14bda1a3eb
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ function _twingle_civix_find_files($dir, $pattern) {
|
||||||
if ($dh = opendir($subdir)) {
|
if ($dh = opendir($subdir)) {
|
||||||
while (FALSE !== ($entry = readdir($dh))) {
|
while (FALSE !== ($entry = readdir($dh))) {
|
||||||
$path = $subdir . DIRECTORY_SEPARATOR . $entry;
|
$path = $subdir . DIRECTORY_SEPARATOR . $entry;
|
||||||
if ($entry{0} == '.') {
|
if ($entry[0] == '.') {
|
||||||
}
|
}
|
||||||
elseif (is_dir($path)) {
|
elseif (is_dir($path)) {
|
||||||
$todos[] = $path;
|
$todos[] = $path;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue