From: Frédéric Buclin Date: Wed, 1 Oct 2014 10:05:28 +0000 (+0200) Subject: Fix bustage due to bug 1061247 X-Git-Tag: bugzilla-4.5.6~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f98a3c67b31d39ce34cca6650f624cba8a5e45;p=thirdparty%2Fbugzilla.git Fix bustage due to bug 1061247 --- diff --git a/token.cgi b/token.cgi index ddfdc159b2..145aa52257 100755 --- 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'))