Commit 7d58f620e0c8ce4bcab751b40a8646ded826868e

Authored by Mark Holtzhausen
1 parent 206f2243

Updates

webservice/clienttools/services/0.9/kt.php
@@ -149,6 +149,8 @@ class kt extends client_service { @@ -149,6 +149,8 @@ class kt extends client_service {
149 $methodToIncludeItem = '_processItemInclusion_' . $type; 149 $methodToIncludeItem = '_processItemInclusion_' . $type;
150 150
151 foreach ( $listing as $item ) { 151 foreach ( $listing as $item ) {
  152 + $this->logInfo('Listing Detail:',$item);
  153 + $this->addDebug('Listing Detail:',$item);
152 /* Trying to fix folder sizes */ 154 /* Trying to fix folder sizes */
153 if ($item ['filesize'] <= 0) { 155 if ($item ['filesize'] <= 0) {
154 $item ['filesize'] = ''; 156 $item ['filesize'] = '';
@@ -166,6 +168,7 @@ class kt extends client_service { @@ -166,6 +168,7 @@ class kt extends client_service {
166 $permissions = $item ['permissions']; 168 $permissions = $item ['permissions'];
167 $perms = ''; 169 $perms = '';
168 170
  171 +
169 for($j = 0; $j < strlen ( $permissions ); $j ++) { 172 for($j = 0; $j < strlen ( $permissions ); $j ++) {
170 switch (strtoupper ( $permissions {$j} )) { 173 switch (strtoupper ( $permissions {$j} )) {
171 case 'W' : 174 case 'W' :