aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends')
-rw-r--r--views/default/friends/picker.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index d813e6fe7..2f51a02d7 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -102,7 +102,9 @@
$('#collectionMembersForm<?php echo $friendspicker; ?>').submit(function() {
var inputs = [];
$(':input', this).each(function() {
- inputs.push(this.name + '=' + escape(this.value));
+ if (this.type != 'checkbox' || (this.type == 'checkbox' && this.checked != false)) {
+ inputs.push(this.name + '=' + escape(this.value));
+ }
});
jQuery.ajax({
type: "POST",