summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-01-11 23:35:38 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-01-16 17:38:38 +0100
commit01c881fd2c0f0c701a83e135f2142c9db3052422 (patch)
treec596b76c4b71f941c3a691977a3042a8fdf7acb1 /application/controllers
parentc8e5f5a20c9e558efbd5e9c152f086ab72015ba3 (diff)
fix multipaste in service/history
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 57faa62f2..5fce8afc8 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -643,7 +643,7 @@ class File extends MY_Controller {
foreach ($history["multipaste_items"] as $key => $item) {
$size = 0;
foreach ($item["items"] as $i) {
- $size += $i["filesize"];
+ $size += $history["items"][$i["id"]]["filesize"];
}
$history["items"][] = array(