Commit 791ea8839ab9d49c2dfbeabecaa1520704dc054e
1 parent
273a3759
"KTS-1994"
"KT webservice: add_document not working" Fixed. Some types still incorrect. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6694 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
ktapi/ktapi.inc.php
| ... | ... | @@ -1864,8 +1864,8 @@ class KTAPI_Document extends KTAPI_FolderItem |
| 1864 | 1864 | $username='n/a'; |
| 1865 | 1865 | } |
| 1866 | 1866 | $detail['updated_by'] = $username; |
| 1867 | - $detail['document_id'] = $document->getId(); | |
| 1868 | - $detail['folder_id'] = $document->getFolderID(); | |
| 1867 | + $detail['document_id'] = (int) $document->getId(); | |
| 1868 | + $detail['folder_id'] = (int) $document->getFolderID(); | |
| 1869 | 1869 | |
| 1870 | 1870 | $workflowid = $document->getWorkflowId(); |
| 1871 | 1871 | if (is_numeric($workflowid)) | ... | ... |