bug #503 Fix ghost item in toolbar when no query (ogizanagi)
bug #503 Fix ghost item in toolbar when no query (ogizanagi)

This PR was merged into the 1.6.x-dev branch.

Discussion
----------

Fix ghost item in toolbar when no query

Fix https://github.com/symfony/symfony/issues/16976.

However, the item will also be hidden from the toolbar when using the old profiler/toolbar theme.
I don't think it matters, but tell me if I'm wrong.

Commits
-------

bcad555 Fix ghost item in toolbar when no query

nicolas-grekas/DoctrineBundle,fabpot/DoctrineBundle,hason/DoctrineBundle,javiereguiluz/DoctrineBundle,doctrine/DoctrineBundle,gencer/DoctrineBundle,hason/DoctrineBundle,hacfi/DoctrineBundle,fervo/DoctrineBundle,mikeSimonson/DoctrineBundle,fervo/DoctrineBundle,nicolas-grekas/DoctrineBundle,OskarStark/DoctrineBundle,fabpot/DoctrineBundle,hacfi/DoctrineBundle,mikeSimonson/DoctrineBundle,gencer/DoctrineBundle,javiereguiluz/DoctrineBundle,OskarStark/DoctrineBundle