Skip to content

Commit

Permalink
fix(#132): fixed an issue where translations were being overwritten f…
Browse files Browse the repository at this point in the history
…or all sites
  • Loading branch information
gustavs-gutmanis committed May 21, 2022
1 parent 328b24c commit 44f5886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/Services/EventsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function saveEvent(Event $event, bool $validateContent = true, bool $bypa
$transaction = \Craft::$app->db->beginTransaction();

try {
$isSaved = \Craft::$app->elements->saveElement($event, $validateContent);
$isSaved = \Craft::$app->elements->saveElement($event, $validateContent, $isNewEvent);
if ($isSaved) {
$this->reindexSearchForAllSites($event);

Expand Down

0 comments on commit 44f5886

Please sign in to comment.