aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-14 01:32:10 +0000
committerlpsolit%gmail.com <>2005-11-14 01:32:10 +0000
commite4fa51953ec018c733040ccf9a478b2e8aac0bac (patch)
tree9a6f7c55d364dc74747a726f4df0125e9ea69114 /userprefs.cgi
parentBug 314621: usemenuforusers description should say "dropdown" instead of "popup" (diff)
downloadbugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.gz
bugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.tar.bz2
bugzilla-e4fa51953ec018c733040ccf9a478b2e8aac0bac.zip
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 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 101dead40..24c9136f4 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -53,7 +53,7 @@ sub DoAccount {
if(Param('allowemailchange')) {
my @token = $dbh->selectrow_array(
"SELECT tokentype, issuedate + " .
- $dbh->sql_interval('3 DAY') . ", eventdata
+ $dbh->sql_interval(3, 'DAY') . ", eventdata
FROM tokens
WHERE userid = ?
AND tokentype LIKE 'email%'