Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
III-2160 Consistent marking of fallback for replay which is currently…
Browse files Browse the repository at this point in the history
… not possible.
  • Loading branch information
Luc Wollants committed Jun 13, 2017
1 parent b008439 commit 7da5d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Offer/AbstractOfferJsonDocumentTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ protected function copyMainLanguage(\stdClass $from, \stdClass $to)
if (isset($from->mainLanguage)) {
$to->mainLanguage = $from->mainLanguage;
} else {
// @todo: Once a full replay is done the fallback to 'nl' can be removed.
// @replay_i18n: Once a full replay is done the fallback to 'nl' can be removed.
// @see: https://jira.uitdatabank.be/browse/III-2201
$to->mainLanguage = 'nl';
$this->logMissingExpectedField('mainLanguage');
}
Expand Down

0 comments on commit 7da5d4a

Please sign in to comment.