Skip to content

Commit

Permalink
CS-5900 - Translations for legacy plugins dont work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
takeit committed Jul 28, 2015
1 parent b533c58 commit 1c79915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function onRequest(GetResponseEvent $event)
{
$request = $event->getRequest();
$route = $request->attributes->get('_route');
if (strpos($route, 'newscoop_gimme_') === false || $route == 'newscoop_get_img') {
if (strpos($route, 'newscoop_gimme_') !== false || $route == 'newscoop_get_img') {
return;
}

Expand Down

0 comments on commit 1c79915

Please sign in to comment.