Fix assignment of url from internalDecode

This commit is contained in:
Maxim Kuleshov 2022-02-09 16:00:54 +03:00 committed by GitHub
parent 336d0bd69f
commit b51750a29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ class FileId
$result->setFileReference($resultArray['fileReference']); $result->setFileReference($resultArray['fileReference']);
} }
if ($resultArray['hasWebLocation']) { if ($resultArray['hasWebLocation']) {
$result->setUrl($resultArray['webLocation']); $result->setUrl($resultArray['url']);
return $result; return $result;
} }
$result->setId($resultArray['id']); $result->setId($resultArray['id']);