summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-01-04 17:09:07 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-01-16 17:38:38 +0100
commit9670d794be886c036408de85773a0b7d204979b9 (patch)
tree707389896d4fed17aaa76dd130daaa61a7f2e99d
parent7f74792c2f82aee3cd98bd6304ced55894b43683 (diff)
Fix error in file/upload_history
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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 5451836de..57faa62f2 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -671,7 +671,7 @@ class File extends MY_Controller {
if (is_cli_client()) {
// Keep track of longest string to pad plaintext output correctly
foreach($fields as $length_key => $value) {
- $len = mb_strlen($items[$key][$length_key]);
+ $len = mb_strlen($history["items"][$key][$length_key]);
if ($len > $lengths[$length_key]) {
$lengths[$length_key] = $len;
}