summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-10-13 10:36:13 +0200
committerjustdave%syndicomm.com <>2001-10-13 10:36:13 +0200
commit430a652fcfc2ab50665fadd47fd3689d24446348 (patch)
tree8d2c19bac3069c6aa4755ee79e1f80e964b5c700 /editgroups.cgi
parent5c8613183f5779686e739bc9a470c770cf8ff51d (diff)
downloadbugzilla-430a652fcfc2ab50665fadd47fd3689d24446348.tar.gz
bugzilla-430a652fcfc2ab50665fadd47fd3689d24446348.tar.xz
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 <jake@acutex.net> r= justdave x2
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi30
1 files changed, 15 insertions, 15 deletions
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 "<P>\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.<BR>" .
"Please click the <b>Back</b> 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.<br>" .
"Please click the <b>Back</b> button and try again.");
PutFooter();
- exit;
+ exit;
}
# Major hack for bit values... perl can't handle 64-bit ints, so I can't