From d4479cf3a570a21087e88a339ebfc36f74f43ba3 Mon Sep 17 00:00:00 2001 From: "tara%tequilarista.org" <> Date: Thu, 31 Aug 2000 13:07:26 +0000 Subject: fix for bug #24806 --- editcomponents.cgi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'editcomponents.cgi') 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 '') { -- cgit v1.2.3-24-g4f1b