summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-08-29 06:45:06 +0200
committerByron Jones <bjones@mozilla.com>2012-08-29 06:45:06 +0200
commitf54efb84d3118e169e6c6125db6afd9b6ac43633 (patch)
treeed7150bea0f96430262e9d3ffa5c75c4c749c4f3
parent913f68b91f16bd364d9709c85ac120f061913087 (diff)
downloadbugzilla-f54efb84d3118e169e6c6125db6afd9b6ac43633.tar.gz
bugzilla-f54efb84d3118e169e6c6125db6afd9b6ac43633.tar.xz
Fix bustage caused by Bug 772953
-rw-r--r--Bugzilla/CGI.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 0385af2cb..0b75eeb0a 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -172,7 +172,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");
}