Skip to content

Commit

Permalink
Fix #3155: Field 'date_added' (for attachments) not correctly printed…
Browse files Browse the repository at this point in the history
… in print_bug_page.php.

Thanks for ndeboer for the fix.

M print_bug_page.php
- Use UNIX_TIMESTAMP in the query for retrieving the attached file information.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2159 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Apr 23, 2003
1 parent 51ab53b commit cd22e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -20,6 +20,7 @@ Mantis ChangeLog
* Fix #3132: Email for feedback does not contain the last bugnote
* Fix #3140: attachment.png is corrupt in CVS.
* Fix #3143: Show a padlock instead of "p".
* Fix #3155: Field 'date_added' (for attachments) not correctly printed in print_bug_page.php.
* Languages: Updated Italian, Slovak and Dutch localisations.
* Languages: Synchronised localisation files with English localisation.

Expand Down
2 changes: 1 addition & 1 deletion print_bug_page.php
Expand Up @@ -308,7 +308,7 @@
</td>
<td class="print" colspan="5">
<?php
$query = "SELECT *
$query = "SELECT *, UNIX_TIMESTAMP(date_added) as date_added
FROM $g_mantis_bug_file_table
WHERE bug_id='$c_bug_id'";
$result = db_query( $query );
Expand Down

0 comments on commit cd22e09

Please sign in to comment.