summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
authortara%tequilarista.org <>2000-08-31 15:07:26 +0200
committertara%tequilarista.org <>2000-08-31 15:07:26 +0200
commitd4479cf3a570a21087e88a339ebfc36f74f43ba3 (patch)
tree520db107a6bdbd0bb34c741441bd110691d9dffa /editcomponents.cgi
parent55b5a6b79fb0d349ce643bf4b0ad7a235a23645f (diff)
downloadbugzilla-d4479cf3a570a21087e88a339ebfc36f74f43ba3.tar.gz
bugzilla-d4479cf3a570a21087e88a339ebfc36f74f43ba3.tar.xz
fix for bug #24806
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi9
1 files changed, 8 insertions, 1 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 787c6983a..1abe62253 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -386,6 +386,10 @@ if ($action eq 'new') {
}
my $initialowner = trim($::FORM{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";
@@ -394,9 +398,12 @@ if ($action eq 'new') {
exit;
}
#+++
- #DBNameToIdAndCheck($initialowner, 0);
my $initialqacontact = trim($::FORM{initialqacontact} || '');
+ #
+ # Now validating to make sure it's too an existing account
+ #
+ DBNameToIdAndCheck($initialqacontact);
if (Param('useqacontact')) {
if ($initialqacontact eq '') {