From 7b55436a724b9a65fb5a735cfd8965313e9161e3 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 29 Aug 2012 12:45:48 +0800 Subject: Fix bustage caused by Bug 772953 --- Bugzilla/CGI.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index d0b3f3711..d58b19088 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -170,7 +170,10 @@ sub clean_search_url { $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') { + unless (defined $self->param('remtype') + && ($self->param('remtype') eq 'asdefault' + || $self->param('remtype') eq 'asnamed')) + { $self->delete("token"); } -- cgit v1.2.3-24-g4f1b