mirror of
https://github.com/ONLYOFFICE/onlyoffice-owncloud.git
synced 2025-04-18 13:24:05 +03:00
fix: unknown author for last version of document
This commit is contained in:
parent
3f4a0b971c
commit
1183875143
@ -991,7 +991,7 @@ class EditorController extends Controller {
|
||||
"id" => $this->buildUserId($author["id"]),
|
||||
"name" => $author["name"]
|
||||
];
|
||||
} elseif (!empty($this->config->getUnknownAuthor())) {
|
||||
} elseif (!empty($this->config->getUnknownAuthor()) && $versionNum !== 0) {
|
||||
$historyItem["user"] = [
|
||||
"name" => $this->config->getUnknownAuthor()
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user