summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Token.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-14 02:32:10 +0100
committerlpsolit%gmail.com <>2005-11-14 02:32:10 +0100
commite4fa51953ec018c733040ccf9a478b2e8aac0bac (patch)
tree9a6f7c55d364dc74747a726f4df0125e9ea69114 /Bugzilla/Token.pm
parentf0bcc18f7a676230d2d700dd2b56a9dc2620f80b (diff)
downloadbugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.gz
bugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.xz
Bug 301062: [PostgreSQL] whine.pl fails when using PostgreSQL 8.0.x - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=manu a=justdave
Diffstat (limited to 'Bugzilla/Token.pm')
-rw-r--r--Bugzilla/Token.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index 6a263cbee..42dca47d6 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -103,7 +103,7 @@ sub IssuePasswordToken {
ON tokens.userid = profiles.userid
AND tokens.tokentype = 'password'
AND tokens.issuedate > NOW() - " .
- $dbh->sql_interval('10 MINUTE') . "
+ $dbh->sql_interval(10, 'MINUTE') . "
WHERE " . $dbh->sql_istrcmp('login_name', $quotedloginname));
my ($userid, $toosoon) = &::FetchSQLData();