Fixed bug on PHP5.3
Fixed bug on PHP5.3

It was not possible on PHP access to an array after calling a function
without previously assigning to a variable

OskarStark/SonataMediaBundle,jerome-fix/SonataMediaBundle,OskarStark/SonataMediaBundle,jerome-fix/SonataMediaBundle,vyshkant/SonataMediaBundle,vyshkant/SonataMediaBundle,hug963/SonataMediaBundle,nicolasricci/SonataMediaBundle,nicolasricci/SonataMediaBundle,vyshkant/SonataMediaBundle,nicolasricci/SonataMediaBundle,sonata-project/SonataMediaBundle,jerome-fix/SonataMediaBundle,hug963/SonataMediaBundle,hug963/SonataMediaBundle,hug963/SonataMediaBundle,jerome-fix/SonataMediaBundle,vyshkant/SonataMediaBundle,nicolasricci/SonataMediaBundle,vyshkant/SonataMediaBundle,hug963/SonataMediaBundle,OskarStark/SonataMediaBundle,OskarStark/SonataMediaBundle,nicolasricci/SonataMediaBundle