diff options
author | tara%tequilarista.org <> | 2000-08-31 15:07:26 +0200 |
---|---|---|
committer | tara%tequilarista.org <> | 2000-08-31 15:07:26 +0200 |
commit | d4479cf3a570a21087e88a339ebfc36f74f43ba3 (patch) | |
tree | 520db107a6bdbd0bb34c741441bd110691d9dffa /editcomponents.cgi | |
parent | 55b5a6b79fb0d349ce643bf4b0ad7a235a23645f (diff) | |
download | bugzilla-d4479cf3a570a21087e88a339ebfc36f74f43ba3.tar.gz bugzilla-d4479cf3a570a21087e88a339ebfc36f74f43ba3.tar.xz |
fix for bug #24806
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 9 |
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 '') { |