Skip to content

Commit

Permalink
Merge pull request #388 from ONLYOFFICE/feature/converter-fix
Browse files Browse the repository at this point in the history
convert url to string type
  • Loading branch information
LinneyS authored Sep 23, 2022
2 parents 9c26db9 + 940b6fa commit 8ff1e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

##
## Changed
- compatible with ownCloud 10.11

## 7.5.3
## Added
- Catalan translation
Expand Down
2 changes: 1 addition & 1 deletion lib/documentservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function GetConvertedUri($document_uri, $from_extension, $to_extension, $documen
$isEndConvert = $responceFromConvertService->EndConvert;

if ($isEndConvert !== null && strtolower($isEndConvert) === "true") {
return $responceFromConvertService->FileUrl;
return (string)$responceFromConvertService->FileUrl;
}

return "";
Expand Down

0 comments on commit 8ff1e34

Please sign in to comment.