From: tara%tequilarista.org <> Date: Thu, 31 Aug 2000 13:07:26 +0000 (+0000) Subject: fix for bug #24806 X-Git-Tag: bugzilla-2.12~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4479cf3a570a21087e88a339ebfc36f74f43ba3;p=thirdparty%2Fbugzilla.git fix for bug #24806 --- diff --git a/editcomponents.cgi b/editcomponents.cgi index 787c6983a9..1abe622535 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 '') {