summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-08-29 06:45:48 +0200
committerByron Jones <bjones@mozilla.com>2012-08-29 06:45:48 +0200
commit7b55436a724b9a65fb5a735cfd8965313e9161e3 (patch)
treefbeeebd1d87aec48025fed1433653c067ea7bc4f /Bugzilla/CGI.pm
parentbeae46063bcb62deddd6e72c2e34388b3c265da0 (diff)
downloadbugzilla-7b55436a724b9a65fb5a735cfd8965313e9161e3.tar.gz
bugzilla-7b55436a724b9a65fb5a735cfd8965313e9161e3.tar.xz
Fix bustage caused by Bug 772953
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r--Bugzilla/CGI.pm5
1 files changed, 4 insertions, 1 deletions
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");
}