Commit 035b45c8a5a690390773ee7650f3aa008709aaf4

Authored by conradverm
1 parent 410cf71b

KTS-1694

"SOAP Webservice Implementation"
Fixed. add_document was not returning KTWSAPI_Document.

Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6468 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
ktwsapi/php/ktwsapi.inc.php
@@ -445,7 +445,7 @@ class KTWSAPI_Folder extends KTWSAPI_FolderItem @@ -445,7 +445,7 @@ class KTWSAPI_Folder extends KTWSAPI_FolderItem
445 return new PEAR_Error($kt_document_detail->message); 445 return new PEAR_Error($kt_document_detail->message);
446 } 446 }
447 447
448 - return true; 448 + return new KTWSAPI_Document($this->ktapi, $kt_document_detail);
449 } 449 }
450 } 450 }
451 451