Skip to content

Commit

Permalink
remove deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
paulandrieux committed Jul 25, 2016
1 parent d5c6f37 commit 01727bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resolver/WidgetLocaleSwitcherContentResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getWidgetStaticContent(Widget $widget)
{
$widgetParams = parent::getWidgetStaticContent($widget);

$currentView = $this->currentViewHelper->getMainCurrentView();
$currentView = $this->currentViewHelper->getCurrentView();
$viewTranslations = $currentView->getTranslations();
unset($this->locales[$currentView->getCurrentLocale()]);

Expand Down

0 comments on commit 01727bd

Please sign in to comment.