]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for bug #24806
authortara%tequilarista.org <>
Thu, 31 Aug 2000 13:07:26 +0000 (13:07 +0000)
committertara%tequilarista.org <>
Thu, 31 Aug 2000 13:07:26 +0000 (13:07 +0000)
editcomponents.cgi

index 787c6983a9519c4c5eacb70d6de687c3dc358962..1abe62253558a9fc4957ecb129f4d825453aa40c 100755 (executable)
@@ -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 '') {