osTicket/osTicket-1.7 — pull request #195 by soif (2012-08-02 11:25:56+00:00)
Title: Fix "File Upload Error" in SCP 

Since the multi-files upload features (I guess), the uploaded file array can hold an empty array that triggers the error "File Upload Error" in SCP.

This commit fixes this by making sure each files array is not empty (it must have a tmp_name)