fixed #3946 thanks to mercilor
fixed #3946 thanks to mercilor

git-svn-id: e6180648f1438032975755a03660179a2fce9ff1@10944 ee427ae8-e902-0410-961c-c3ed070cd9f9

nixilla/sfDoctrineGuardPlugin,maxim-oleinik/sfDoctrineGuardPlugin,pixelfusion/sfDoctrineGuardPlugin