Bug 280500: Replace "DATE_FORMAT()" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk git-svn-id: svn://10.0.0.236/trunk@169798 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user