diff --git a/lib/api/ktcmis/services/CMISVersioningService.inc.php b/lib/api/ktcmis/services/CMISVersioningService.inc.php index 5ac4f80..b4a20cc 100644 --- a/lib/api/ktcmis/services/CMISVersioningService.inc.php +++ b/lib/api/ktcmis/services/CMISVersioningService.inc.php @@ -106,7 +106,7 @@ class CMISVersioningService { } // NOTE KTAPI as currently implemented does not give a direct response which indicates if the document is already checked out, - // as long as the same use is calling the checkout again, so should we add a check here specifically? + // as long as the same user is calling the checkout again, so should we add a check here specifically? // run checkout process - set $download = false (third function argument) as we want to return the document content via the contentStream $response = $this->ktapi->checkout_document($documentId, 'CMIS Checkout Action', false, $sig_username, $sig_password); diff --git a/plugins/search2/reporting/ExtractorInfo.php b/plugins/search2/reporting/ExtractorInfo.php index 977a81c..9a31272 100644 --- a/plugins/search2/reporting/ExtractorInfo.php +++ b/plugins/search2/reporting/ExtractorInfo.php @@ -106,9 +106,9 @@ class ExtractorInfoDispatcher extends KTAdminDispatcher { function getSupportedMimeTypesDB($sExtractorName) { - $sQuery = "SELECT MT.mimetypes FROM mime_extractors as ME LEFT JOIN mime_types as MT ON " . + $sQuery = "SELECT MT.mimetypes FROM mime_extractors as ME LEFT JOIN mime_types as MT ON " . "(ME.id = MT.extractor_id) WHERE ME.name = ?"; - $aQuery = array($sQuery, array($sExtractorName)); + $aQuery = array($sQuery, array($sExtractorName)); $aTempRes = DBUtil::getResultArray($aQuery); $aRes = array(); for($i = 0; $i < count($aTempRes); $i++ )