Commit 416e86122d13e9e93cdcc2f01b18f27079290db4
1 parent
fb13f7c9
Fix incorrect soap parameters for webservice version 3 get_folder_detail_by_name
Committed by: Paul Barrett
Showing
1 changed file
with
3 additions
and
2 deletions
ktwebservice/webservice.php
| ... | ... | @@ -775,10 +775,11 @@ class KTWebService |
| 775 | 775 | |
| 776 | 776 | if ($this->version >=3) |
| 777 | 777 | { |
| 778 | - // was | |
| 778 | + // NOTE that there was a bug: folder_id should be folder_name and be of type int - this is fixed in the second version below | |
| 779 | + // additionally the function has no "create" parameter | |
| 779 | 780 | //$this->__dispatch_map['get_folder_detail_by_name']['in'] = array('session_id' => 'string', 'folder_id' => 'int', 'create'=>'boolean' ); |
| 780 | 781 | // now |
| 781 | - $this->__dispatch_map['get_folder_detail_by_name']['in'] = array('session_id' => 'string', 'folder_id' => 'int', 'parent_id'=>'int' ); | |
| 782 | + $this->__dispatch_map['get_folder_detail_by_name']['in'] = array('session_id' => 'string', 'folder_name' => 'string', 'parent_id'=>'int' ); | |
| 782 | 783 | } |
| 783 | 784 | |
| 784 | 785 | // get_folder_contents | ... | ... |