mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
⬆️ N°4770 Update to latest Symfony 3.4
This commit is contained in:
@@ -76,7 +76,7 @@ abstract class FileLoader extends Loader
|
||||
$ret = [];
|
||||
$isSubpath = 0 !== $i && false !== strpos(substr($resource, 0, $i), '/');
|
||||
foreach ($this->glob($resource, false, $_, $ignoreErrors || !$isSubpath) as $path => $info) {
|
||||
if (null !== $res = $this->doImport($path, $type, $ignoreErrors, $sourceResource)) {
|
||||
if (null !== $res = $this->doImport($path, 'glob' === $type ? null : $type, $ignoreErrors, $sourceResource)) {
|
||||
$ret[] = $res;
|
||||
}
|
||||
$isSubpath = true;
|
||||
|
||||
Reference in New Issue
Block a user