Skip to content

Commit

Permalink
pkp#10328 Fix multilingual attributes retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Sep 30, 2024
1 parent c9cda06 commit cc6b601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/core/traits/ModelWithSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function setSchemaData(): void
$schema = $schemaService->get($this->getSchemaName());
$this->convertSchemaToCasts($schema);
$this->settings = array_merge($this->settings, $schemaService->groupPropsByOrigin($this->getSchemaName())[Schema::ATTRIBUTE_ORIGIN_SETTINGS]);
$this->multilingualProps = array_merge($this->settings, $schemaService->getMultilingualProps($this->getSchemaName()));
$this->multilingualProps = array_merge($this->multilingualProps, $schemaService->getMultilingualProps($this->getSchemaName()));
}

/**
Expand Down

0 comments on commit cc6b601

Please sign in to comment.