Adding default type to user fields in search

git-svn-id: svn://10.0.0.236/trunk@213727 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com 2006-10-16 22:46:42 +00:00
parent 1d4cda8a9d
commit 37f74f2c6c

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);