diff --git a/src/services/EntryRevisions.php b/src/services/EntryRevisions.php index 34d5e0ebd15..6f7ef10297e 100644 --- a/src/services/EntryRevisions.php +++ b/src/services/EntryRevisions.php @@ -247,7 +247,7 @@ public function saveDraft(EntryDraft $draft, bool $runValidation = true): bool public function publishDraft(EntryDraft $draft, bool $runValidation = true): bool { // If this is a single, we'll have to set the title manually - if ($draft->getSection()->type == Section::TYPE_SINGLE) { + if ($draft->getSection()->type == Section::TYPE_SINGLE && empty($draft->title)) { $draft->title = $draft->getSection()->name; }