summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-03-21 14:03:58 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-03-21 14:03:58 (GMT)
commit50492d4dab7adb56e6830b52dfca278685e316fc (patch)
tree36c49437ffe7ffd67c06b437b48113c35b7c73ad
parent9117d4f73fe8daf847864ce422df93c3c1e4a0e8 (diff)
downloadkolab-wap-50492d4dab7adb56e6830b52dfca278685e316fc.tar.gz
Fix users search (#641)
-rw-r--r--public_html/js/kolab_admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index f5075e2..63189a7 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -676,7 +676,7 @@ function kolab_admin()
var i, v, json = {},
form = $(id),
query = form.serializeArray(),
- extra = this.env.extra_fields;
+ extra = this.env.extra_fields ? this.env.extra_fields : [];
for (i in query)
json[query[i].name] = query[i].value;