Commit c2ae8ec61a60a0d95dae99423b2019dbb7068fc0

Authored by Conrad Vermeulen
1 parent 8c7231d9

WSA-81

"get_folder_contents returns unwanted objects"
Fixed.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8370 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
ktapi/KTAPIFolder.inc.php
... ... @@ -361,7 +361,7 @@ class KTAPI_Folder extends KTAPI_FolderItem
361 361 if ($depth-1 > 0)
362 362 {
363 363 $sub_folder = &$this->ktapi->get_folder_by_id($folder->getId());
364   - $items = $sub_folder->get_listing($depth-1);
  364 + $items = $sub_folder->get_listing($depth-1, $what);
365 365 }
366 366 else
367 367 {
... ...