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:
parent
2979bf868b
commit
d1ca42b041
@ -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 ;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user