]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1507901 - Phab revision panel in show_bug failing to display due to type check...
authordklawren <dklawren@users.noreply.github.com>
Fri, 16 Nov 2018 20:34:58 +0000 (15:34 -0500)
committerDylan William Hardison <dylan@hardison.net>
Fri, 16 Nov 2018 20:34:58 +0000 (15:34 -0500)
Bugzilla/Auth/Login/Cookie.pm

index 9a94fe019917bdbb64bd015ddf6a0b3987f48291..5655b92ae87f7cb6385b3b0916e113986ac5550d 100644 (file)
@@ -58,7 +58,7 @@ sub get_login_info {
         # it is valid.
         if (i_am_webservice()) {
             if (exists Bugzilla->input_params->{Bugzilla_api_token}) {
-                my $api_token = Bugzilla->input_params->{Bugzilla_api_token};
+                my $api_token = delete Bugzilla->input_params->{Bugzilla_api_token};
                 my ($token_user_id, undef, undef, $token_type)
                     = Bugzilla::Token::GetTokenData($api_token);
                 if (!defined $token_type