Commit 3ed0e0e0cf06b4e09a9fc6e9bce6765b42a230f1

Authored by Tohir Solomons
2 parents 07127621 43e5e1ba

Merge branch 'edge' of git@github.com:ktgit/knowledgetree into edge

webservice/clienttools/services/0.9/kt.php
... ... @@ -1108,7 +1108,7 @@ Fatal error: Cannot unset string offsets in on line 981
1108 1108 $this->logTrace((__METHOD__.'('.__FILE__.' '.__LINE__.')'),'Enter Function');
1109 1109 $kt = &$this->KT;
1110 1110  
1111   - $response = $kt->copy_document ( $params ['documentid'], $params ['destfolderid'], $params ['reason'] );
  1111 + $response = $kt->copy_document ( $params ['documentid'], $params ['destfolderid'], $params ['reason'], $params ['title'], $params ['filename'] );
1112 1112 if ($response ['status_code'] == 0) {
1113 1113 $this->setResponse ( array ('status_code' => 0, 'status' => 'itemupdated', 'icon' => 'success', 'title' => $this->xlate ( 'Document Copied' ), 'message' => $this->xlate ( 'Document has been successfully copied' ) ) );
1114 1114 return true;
... ... @@ -1122,7 +1122,7 @@ Fatal error: Cannot unset string offsets in on line 981
1122 1122 $this->logTrace((__METHOD__.'('.__FILE__.' '.__LINE__.')'),'Enter Function');
1123 1123 $kt = $this->KT;
1124 1124  
1125   - $response = $kt->move_document ( $params ['documentid'], $params ['destfolderid'], $params ['reason'] );
  1125 + $response = $kt->move_document ( $params ['documentid'], $params ['destfolderid'], $params ['reason'], $params ['title'], $params ['filename'] );
1126 1126 if ($response ['status_code'] == 0) {
1127 1127 $this->setResponse ( array ('status_code' => 0, 'status' => 'itemupdated', 'icon' => 'success', 'title' => $this->xlate ( 'Document Moved' ), 'message' => $this->xlate ( 'Document has been successfully moved' ) ) );
1128 1128 return true;
... ...