Skip to content

Commit

Permalink
FIX: Added possibility of loading Folder status #298 (#312)
Browse files Browse the repository at this point in the history
* Added missing param.

* Added getting folder with its status possibility.

* Fixed wrong method usage in recursion.
  • Loading branch information
szymekjanaczek committed Nov 15, 2022
1 parent 1393181 commit 603447a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public function getFoldersWithStatus(bool $hierarchical = true, string $parent_f
if ($hierarchical && $folder->hasChildren()) {
$pattern = $folder->full_name.$folder->delimiter.'%';

$children = $this->getFolders(true, $pattern);
$children = $this->getFoldersWithStatus(true, $pattern);
$folder->setChildren($children);
}

Expand Down

0 comments on commit 603447a

Please sign in to comment.