@@ -85,13 +85,11 @@ discard block |
||
85 | 85 | $groups[] = $entry['title']; |
86 | 86 | } |
87 | 87 | $helper = new \Aimeos\MW\View\Helper\Access\Standard( $view, $groups ); |
88 | - } |
|
89 | - else |
|
88 | + } else |
|
90 | 89 | { |
91 | 90 | $helper = new \Aimeos\MW\View\Helper\Access\All( $view ); |
92 | 91 | } |
93 | - } |
|
94 | - else |
|
92 | + } else |
|
95 | 93 | { |
96 | 94 | $t3context = GeneralUtility::makeInstance( 'TYPO3\CMS\Core\Context\Context' ); |
97 | 95 | |
@@ -313,8 +311,7 @@ discard block |
||
313 | 311 | { |
314 | 312 | $i18n = \Aimeos\Aimeos\Base::i18n( [$langid], $local ); |
315 | 313 | $translation = $i18n[$langid]; |
316 | - } |
|
317 | - else |
|
314 | + } else |
|
318 | 315 | { |
319 | 316 | $translation = new \Aimeos\Base\Translation\None( 'en' ); |
320 | 317 | } |