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