aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.