diff --git a/src/Client.php b/src/Client.php index 8027dc5..0218c23 100755 --- a/src/Client.php +++ b/src/Client.php @@ -585,7 +585,7 @@ public function getFolders(bool $hierarchical = true, string $parent_folder = nu if ($hierarchical && $folder->hasChildren()) { $pattern = $folder->full_name.$folder->delimiter.'%'; - $children = $this->getFolders(true, $pattern, $soft_fail); + $children = $this->getFolders(true, $pattern, true); $folder->setChildren($children); } @@ -631,7 +631,7 @@ public function getFoldersWithStatus(bool $hierarchical = true, string $parent_f if ($hierarchical && $folder->hasChildren()) { $pattern = $folder->full_name.$folder->delimiter.'%'; - $children = $this->getFoldersWithStatus(true, $pattern, $soft_fail); + $children = $this->getFoldersWithStatus(true, $pattern, true); $folder->setChildren($children); }