]> 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:06 +0000 (12:45 +0800)
committerByron Jones <bjones@mozilla.com>
Wed, 29 Aug 2012 04:45:06 +0000 (12:45 +0800)
Bugzilla/CGI.pm

index 0385af2cb04d23484841ba399de5bd9bbf70bcba..0b75eeb0a4f6e480e54c26c15b693525af38dd9f 100644 (file)
@@ -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");
     }