From d447a4f2296e5e9afc9d79cede0e49b2d6210f9f Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Thu, 07 Jun 2012 12:28:14 -0400
Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index c256fa3..cc4b8c2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6259,7 +6259,7 @@
       dashdash = '--', crlf = '\r\n',
       multipart = dashdash + boundary + crlf;
 
-    if (!file || !files.length)
+    if (!files || !files.length)
       return;
 
     // inline function to submit the files to the server

--
Gitblit v1.9.1