Skip to content

Commit

Permalink
Fixed wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jun 1, 2022
1 parent c4b9688 commit 8ac2c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Scheduler/Base.php
Expand Up @@ -96,7 +96,7 @@ public static function context( array $tsconf = [], ?string $pid = null ) : \Aim
$search->setConditions( $search->combine( '||', $expr ) );
$langids = $langManager->search( $search )->keys()->toArray();

$context->setI18n( Aimeos\Base::i18n( $langids, (array) ( $conf['i18n'] ?? [] ) ) );
$context->setI18n( Aimeos\Base::i18n( $langids, (array) ( $tsconf['i18n'] ?? [] ) ) );

$tmplPaths = Aimeos\Base::aimeos()->getTemplatePaths( 'controller/jobs/templates' );
$context->setView( Aimeos\Base::view( $context, self::getRouter( $pid ), $tmplPaths ) );
Expand Down

0 comments on commit 8ac2c28

Please sign in to comment.