Skip to content

Commit

Permalink
Ashamed to commit a namespace fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
frne committed Nov 19, 2014
1 parent df13b70 commit e3ece82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Admin/Extension/FrontendLinkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Sonata\AdminBundle\Admin\AdminExtension;
use Sonata\AdminBundle\Admin\AdminInterface;
use Symfony\Bundle\FrameworkBundle\Translation\Translator;
use Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\PrefixInterface;
use Symfony\Cmf\Component\Routing\RouteReferrersReadInterface;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
use Symfony\Component\Routing\Exception\ExceptionInterface as RoutingExceptionInterface;
Expand Down Expand Up @@ -68,7 +69,7 @@ public function configureTabMenu(
);
}

if ($subject instanceof PrefixInterface && !is_string($subject->getId())) {
if ($subject instanceof PrefixInterface && !is_string($subject->getId())) {
// we have an unpersisted dynamic route
return;
}
Expand Down

0 comments on commit e3ece82

Please sign in to comment.