mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
php: editor warnings fix
This commit is contained in:
@ -49,7 +49,7 @@ final class DocEditorView extends View
|
||||
if (!empty($externalUrl)) {
|
||||
$filename = doUpload($externalUrl);
|
||||
} else { // if the file url doesn't exist, get file name and file extension
|
||||
$filename = basename($request["fileID"]);
|
||||
$filename = basename($request["fileID"] ?? "");
|
||||
}
|
||||
$createExt = $request["fileExt"] ?? "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user