diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-05 20:43:18 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 37722eca39874bb6abdcd120e3e458bd62dea62b (patch) | |
tree | 57a9a9970c00ec77baecab7e154ef7dfcef863fe /editgroups.cgi | |
parent | a6f98de0d4e842351222b0173a1fff151da8738e (diff) | |
download | bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz |
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index 23e880de9..b67b76755 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -138,7 +138,7 @@ sub get_current_and_available { unless ($action) { my @groups = Bugzilla::Group->get_all; $vars->{'groups'} = \@groups; - + print $cgi->header(); $template->process("admin/groups/list.html.tmpl", $vars) || ThrowTemplateError($template->error()); @@ -179,7 +179,7 @@ if ($action eq 'add') { print $cgi->header(); $template->process("admin/groups/create.html.tmpl", $vars) || ThrowTemplateError($template->error()); - + exit; } @@ -244,7 +244,7 @@ if ($action eq 'del') { print $cgi->header(); $template->process("admin/groups/delete.html.tmpl", $vars) || ThrowTemplateError($template->error()); - + exit; } @@ -403,7 +403,7 @@ sub doGroupChanges { AND grantor_id = ? AND grant_type = ?'); - # First item is the type, second is whether or not it's "reverse" + # First item is the type, second is whether or not it's "reverse" # (granted_by) (see _do_add for more explanation). my %fields = ( members => [GROUP_MEMBERSHIP, 0], @@ -414,7 +414,7 @@ sub doGroupChanges { visible_to_me => [GROUP_VISIBLE, 1] ); while (my ($field, $data) = each %fields) { - _do_add($group, $changes, $sth_insert, "${field}_add", + _do_add($group, $changes, $sth_insert, "${field}_add", $data->[0], $data->[1]); _do_remove($group, $changes, $sth_delete, "${field}_remove", $data->[0], $data->[1]); |