From 9670d794be886c036408de85773a0b7d204979b9 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 4 Jan 2015 17:09:07 +0100 Subject: Fix error in file/upload_history Signed-off-by: Florian Pritz --- application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-24-g4f1b