summaryrefslogtreecommitdiffstats
path: root/request.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 08:37:47 +0100
committermkanat%kerio.com <>2005-02-25 08:37:47 +0100
commit63dde60072374b2f7ef2f756d4ab9dff66669793 (patch)
tree294b30fddd43508bc9fa4d8c3c540ac4bbcd3c8c /request.cgi
parent32882b6e3513fa69185ea5b3d115e70b69ea5362 (diff)
downloadbugzilla-63dde60072374b2f7ef2f756d4ab9dff66669793.tar.gz
bugzilla-63dde60072374b2f7ef2f756d4ab9dff66669793.tar.xz
Bug 280500: Replace "DATE_FORMAT()" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk
Diffstat (limited to 'request.cgi')
-rwxr-xr-xrequest.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/request.cgi b/request.cgi
index b4b7e6766..fa37344e2 100755
--- a/request.cgi
+++ b/request.cgi
@@ -56,6 +56,7 @@ exit;
sub queue {
my $cgi = Bugzilla->cgi;
+ my $dbh = Bugzilla->dbh;
validateStatus($cgi->param('status'));
validateGroup($cgi->param('group'));
@@ -75,7 +76,7 @@ sub queue {
flags.attach_id, attachments.description,
requesters.realname, requesters.login_name,
requestees.realname, requestees.login_name,
- DATE_FORMAT(flags.creation_date,'%Y.%m.%d %H:%i'),
+ " . $dbh->sql_date_format('flags.creation_date', '%Y.%m.%d %H:%i') . ",
" .
# Select columns that help us weed out secure bugs to which the user
# should not have access.