summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/JpegMeta.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php
index 885f565e2..1b57ccd05 100644
--- a/inc/JpegMeta.php
+++ b/inc/JpegMeta.php
@@ -1205,7 +1205,7 @@ class JpegMeta
$this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / 1024) . 'KB';
}
elseif ($this->_info['file']['Size'] < (1024 * 1024 * 1024)) {
- $this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / 1024) . 'MB';
+ $this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / (1024*1024)) . 'MB';
}
else {
$this->_info['file']['NiceSize'] = $this->_info['file']['Size'] . 'B';