summaryrefslogtreecommitdiffstats
path: root/editcomponents.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 /editcomponents.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 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi26
1 files changed, 13 insertions, 13 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index f48612d75..2950e288f 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -394,10 +394,10 @@ if ($action eq 'new') {
}
my $initialowner = trim($::FORM{initialowner} || '');
- #
- # Now validating to make sure it's too an existing account
- #
- DBNameToIdAndCheck($initialowner);
+ #
+ # Now validating to make sure it's too an existing account
+ #
+ DBNameToIdAndCheck($initialowner);
if ($initialowner eq '') {
print "You must enter an initial owner for the component '$component'. Please press\n";
@@ -431,10 +431,10 @@ if ($action eq 'new') {
PutTrailer($localtrailer);
exit;
}
- #
- # Now validating to make sure it's too an existing account
- #
- DBNameToIdAndCheck($initialqacontact);
+ #
+ # Now validating to make sure it's too an existing account
+ #
+ DBNameToIdAndCheck($initialqacontact);
}
# Add the new component
@@ -732,7 +732,7 @@ if ($action eq 'update') {
unless ($description) {
print "Sorry, I can't delete the description.";
PutTrailer($localtrailer);
- SendSQL("UNLOCK TABLES");
+ SendSQL("UNLOCK TABLES");
exit;
}
SendSQL("UPDATE components
@@ -746,7 +746,7 @@ if ($action eq 'update') {
if ($initialowner ne $initialownerold) {
unless ($initialowner) {
print "Sorry, I can't delete the initial owner.";
- SendSQL("UNLOCK TABLES");
+ SendSQL("UNLOCK TABLES");
PutTrailer($localtrailer);
exit;
}
@@ -769,7 +769,7 @@ if ($action eq 'update') {
if (Param('useqacontact') && $initialqacontact ne $initialqacontactold) {
unless ($initialqacontact) {
print "Sorry, I can't delete the initial QA contact.";
- SendSQL("UNLOCK TABLES");
+ SendSQL("UNLOCK TABLES");
PutTrailer($localtrailer);
exit;
}
@@ -794,13 +794,13 @@ if ($action eq 'update') {
unless ($component) {
print "Sorry, I can't delete the product name.";
PutTrailer($localtrailer);
- SendSQL("UNLOCK TABLES");
+ SendSQL("UNLOCK TABLES");
exit;
}
if (TestComponent($product,$component)) {
print "Sorry, component name '$component' is already in use.";
PutTrailer($localtrailer);
- SendSQL("UNLOCK TABLES");
+ SendSQL("UNLOCK TABLES");
exit;
}