diff --git a/webservice/clienttools/services/0.9/kt.php b/webservice/clienttools/services/0.9/kt.php index 75ca7e2..232436c 100644 --- a/webservice/clienttools/services/0.9/kt.php +++ b/webservice/clienttools/services/0.9/kt.php @@ -149,6 +149,8 @@ class kt extends client_service { $methodToIncludeItem = '_processItemInclusion_' . $type; foreach ( $listing as $item ) { + $this->logInfo('Listing Detail:',$item); + $this->addDebug('Listing Detail:',$item); /* Trying to fix folder sizes */ if ($item ['filesize'] <= 0) { $item ['filesize'] = ''; @@ -166,6 +168,7 @@ class kt extends client_service { $permissions = $item ['permissions']; $perms = ''; + for($j = 0; $j < strlen ( $permissions ); $j ++) { switch (strtoupper ( $permissions {$j} )) { case 'W' :