summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 9e9b61ad..580cfdaa 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -2324,7 +2324,7 @@ angular.module('zmApp', [
var d = $q.defer();
var options = {
method: method,
- data: arguments[0].data,
+ data: arguments[0].data || {},
headers: arguments[0].headers,
// timeout: arguments[0].timeout,
responseType: arguments[0].responseType