fix codition when to redirect
Merge branch 'dev' of git@github.com:celements/celements-photo.git into dev