]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix bustage due to bug 1061247
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 1 Oct 2014 10:05:28 +0000 (12:05 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 1 Oct 2014 10:05:28 +0000 (12:05 +0200)
token.cgi

index ddfdc159b25325066229fcf462e8ea0312188a95..145aa52257be12620fd100d4bd154540969d34d9 100755 (executable)
--- a/token.cgi
+++ b/token.cgi
@@ -167,6 +167,7 @@ sub cancelChangePassword {
 # password and that the new password is valid.
 sub changePassword {
     my ($user_id, $token) = @_;
+    my $dbh = Bugzilla->dbh;
 
     my $password = $cgi->param('password');
     (defined $password && defined $cgi->param('matchpassword'))