Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/hotfix/unknown-author-la…
Browse files Browse the repository at this point in the history
…st-version' into develop
  • Loading branch information
LinneyS committed Feb 12, 2025
2 parents 3f4a0b9 + 1183875 commit dafef6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/editorcontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ public function history($fileId) {
"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()
];
Expand Down

0 comments on commit dafef6a

Please sign in to comment.