bug #4691 Fix condition in Asset::new() method (javiereguiluz)
bug #4691 Fix condition in Asset::new() method (javiereguiluz)

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

Discussion
----------

Fix condition in Asset::new() method

Fixes #4687.

Commits
-------

d13402b3 Fix condition in Asset::new() method

javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle