Patch duplicate call to seekFirstPage during recursive search.
This commit is contained in:
bovenliggende
7a01df7ea9
commit
1e1f261ea9
@ -84,10 +84,8 @@ class Directory extends Entry
|
||||
if(
|
||||
$node instanceof Directory
|
||||
&& strpos($node->getUri(), '.') !== 0
|
||||
){
|
||||
if( $node->seekFirstPage() ){
|
||||
return $node->seekFirstPage();
|
||||
}
|
||||
&& $childNode = $node->seekFirstPage() ){
|
||||
return $childNode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user