Catch the case where branchtype isn't set.

Bug #272511


git-svn-id: svn://10.0.0.236/trunk@166017 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org 2004-12-01 05:47:35 +00:00
parent 2979bf868b
commit d1ca42b041

View File

@ -181,8 +181,7 @@ $::query_branch = 'HEAD' if !defined($::query_branch);
$::query_branch = &SanitizeRevision($::query_branch);
$::query_branchtype = &ExpectMatchtype($::FORM{'branchtype'});
if ($::query_branch eq 'HEAD' &&
($::query_branchtype eq 'match' || $::query_branchtype eq 'regexp')) {
if ($::query_branch eq 'HEAD' && $::query_branchtype ne 'notregexp') {
$::query_branch_head = 1 ;
}