Skip to content

Commit

Permalink
Use locales from parent site when exporting orders
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Sep 10, 2018
1 parent a4593c0 commit 7728c96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ protected function getLocaleContext( array $msg )
$manager = \Aimeos\MShop\Factory::createManager( $lcontext, 'locale' );

$sitecode = ( isset( $msg['sitecode'] ) ? $msg['sitecode'] : 'default' );
$localeItem = $manager->bootstrap( $sitecode, '', '', false, \Aimeos\MShop\Locale\Manager\Base::SITE_ONE );
$localeItem = $manager->bootstrap( $sitecode, '', '', false, \Aimeos\MShop\Locale\Manager\Base::SITE_PATH );

return $lcontext->setLocale( $localeItem );
}
Expand Down

0 comments on commit 7728c96

Please sign in to comment.