diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-10-15 19:16:42 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-10-15 19:16:42 +0000 |
commit | 63031fb6c1b3dc31d2d9cc1d0e7148c827656922 (patch) | |
tree | 5c3b60b2cffaff77b64461155fcaab9c345f4d1d /templates/show_song.inc.php | |
parent | 680e9f6206de1e17cdc63ebec498f6ebafa667b6 (diff) | |
download | ampache-63031fb6c1b3dc31d2d9cc1d0e7148c827656922.tar.gz ampache-63031fb6c1b3dc31d2d9cc1d0e7148c827656922.tar.bz2 ampache-63031fb6c1b3dc31d2d9cc1d0e7148c827656922.zip |
Use a function to format bytes -> human-readable sizes. Also bump catalog build
memory profiling logging to level 5; fixes FS#141.
Diffstat (limited to 'templates/show_song.inc.php')
-rw-r--r-- | templates/show_song.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index ab9dd9b7..48ee9471 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -53,7 +53,7 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; $songprops[gettext_noop('Catalog Number')] = scrub_out($song->catalog_number); $songprops[gettext_noop('Bitrate')] = scrub_out($song->f_bitrate); if (Access::check('interface','75')) { - $songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size . "MB"; + $songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size; } if ($song->update_time) { $songprops[gettext_noop('Last Updated')] = date("d/m/Y H:i",$song->update_time); |