Fix more bustage caused by Bug 772953

git-svn-id: svn://10.0.0.236/trunk@264168 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2012-08-29 05:01:27 +00:00
parent 82bda8dd77
commit 30816230e2
2 changed files with 7 additions and 5 deletions

View File

@@ -1 +1 @@
8361
8362

View File

@@ -171,10 +171,12 @@ sub clean_search_url {
# Delete leftovers from the login form
$self->delete('Bugzilla_remember', 'GoAheadAndLogIn');
# Delete the token if we're not updating the defaults
unless (defined $self->param('remtype')
&& ($self->param('remtype') eq 'asdefault'
|| $self->param('remtype') eq 'asnamed'))
# Delete the token if we're not performing an action which needs it
unless ((defined $self->param('remtype')
&& ($self->param('remtype') eq 'asdefault'
|| $self->param('remtype') eq 'asnamed'))
|| (defined $self->param('remaction')
&& $self->param('remaction') eq 'forget'))
{
$self->delete("token");
}