From 430a652fcfc2ab50665fadd47fd3689d24446348 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sat, 13 Oct 2001 08:36:13 +0000 Subject: Fix for bug 104516: No code changes in this patch, all this checkin does is remove all tabs from the bugzilla source and replace it with the appropriate number of spaces (in most cases 8) to line up with existing code. This is part of the effort to bring the existing codebase up to par with our style guidelines. Patch by Jake Steehagen r= justdave x2 --- editgroups.cgi | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'editgroups.cgi') diff --git a/editgroups.cgi b/editgroups.cgi index 1626fc3a4..10e4a5a9e 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -50,8 +50,8 @@ sub TestGroup ($) # does the group exist? SendSQL("SELECT name - FROM groups - WHERE name=" . SqlQuote($group)); + FROM groups + WHERE name=" . SqlQuote($group)); return FetchOneColumn(); } @@ -76,17 +76,17 @@ sub PutTrailer (@) my $num = 0; print "

\n"; foreach (@links) { - print $_; - if ($num == $count) { - print ".\n"; - } - elsif ($num == $count-1) { - print " or "; - } - else { - print ", "; - } - $num++; + print $_; + if ($num == $count) { + print ".\n"; + } + elsif ($num == $count-1) { + print " or "; + } + else { + print ", "; + } + $num++; } PutFooter(); } @@ -276,7 +276,7 @@ if ($action eq 'new') { ShowError("The group '" . $name . "' already exists.
" . "Please click the Back button and try again."); PutFooter(); - exit; + exit; } if ($isactive != 0 && $isactive != 1) { @@ -284,7 +284,7 @@ if ($action eq 'new') { "a problem with Bugzilla or a bug in your browser.
" . "Please click the Back button and try again."); PutFooter(); - exit; + exit; } # Major hack for bit values... perl can't handle 64-bit ints, so I can't -- cgit v1.2.3-24-g4f1b