undef to trick_taint on TestCase.pm

git-svn-id: svn://10.0.0.236/trunk@250372 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com
2008-04-17 15:41:11 +00:00
parent bd946c0b0f
commit 6d154f41ab

View File

@@ -823,7 +823,7 @@ sub attach_bug {
my $self = shift;
my ($bugids, $caserun_id) = @_;
my $dbh = Bugzilla->dbh;
trick_taint($caserun_id);
trick_taint($caserun_id) if $caserun_id;
$bugids = $self->_check_bugs($bugids, "ATTACH");