Add a check if req.files array is not undefined before accessing it
Merge pull request #91 from antoineverger/master

Add a check if req.files array is not undefined before accessing it