Adding default type to user fields in search

This commit is contained in:
ghendricks%novell.com 2006-10-16 22:46:42 +00:00
parent d57b1b5296
commit 8f8c8455b5

View File

@ -680,7 +680,7 @@ sub init {
foreach my $profile ("author", "manager", "default_tester",
"assignee", "testedby"){
$t = $cgi->param($profile . "_type") || '';
if ($t eq "exact") {
if ($t eq "exact" || '') {
$t = "anyexact";
foreach my $name (split(',', $cgi->param($profile))) {
$name = trim($name);