]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix bustage caused by Bug 772953
authorByron Jones <bjones@mozilla.com>
Wed, 29 Aug 2012 04:45:48 +0000 (12:45 +0800)
committerByron Jones <bjones@mozilla.com>
Wed, 29 Aug 2012 04:45:48 +0000 (12:45 +0800)
Bugzilla/CGI.pm

index d0b3f371199112dafd8703228fa2a9a9b56ea2bf..d58b19088944554015f59e774482ab025662c437 100644 (file)
@@ -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");
     }