From c2ae8ec61a60a0d95dae99423b2019dbb7068fc0 Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Tue, 15 Apr 2008 15:30:55 +0000 Subject: [PATCH] WSA-81 "get_folder_contents returns unwanted objects" Fixed. --- ktapi/KTAPIFolder.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktapi/KTAPIFolder.inc.php b/ktapi/KTAPIFolder.inc.php index ad9fe71..5652c46 100644 --- a/ktapi/KTAPIFolder.inc.php +++ b/ktapi/KTAPIFolder.inc.php @@ -361,7 +361,7 @@ class KTAPI_Folder extends KTAPI_FolderItem if ($depth-1 > 0) { $sub_folder = &$this->ktapi->get_folder_by_id($folder->getId()); - $items = $sub_folder->get_listing($depth-1); + $items = $sub_folder->get_listing($depth-1, $what); } else { -- libgit2 0.21.4