summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-08-29 17:41:33 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-08-29 17:43:19 +0200
commitd7621c2c01074bdcabd6a8c1a8e95c95d00319bf (patch)
treebfcff5599f26939f185bd0208538b56f39a3dc57 /application/views/file_plaintext
parent08c68f84f4a8519912e31f85823694186de804cf (diff)
add multipaste support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext')
-rw-r--r--application/views/file_plaintext/upload_history.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/views/file_plaintext/upload_history.php b/application/views/file_plaintext/upload_history.php
index f9a14af0b..53801494f 100644
--- a/application/views/file_plaintext/upload_history.php
+++ b/application/views/file_plaintext/upload_history.php
@@ -9,13 +9,13 @@ echo
.mb_str_pad($fields["hash"], $lengths["hash"])." | "
.mb_str_pad($fields["filesize"], $lengths["filesize"])."\n";
-foreach($query as $key => $item) {
+foreach($items as $key => $item) {
echo
mb_str_pad($item["id"], $lengths["id"])." | "
.mb_str_pad($item["filename"], $lengths["filename"])." | "
.mb_str_pad($item["mimetype"], $lengths["mimetype"])." | "
.date($dateformat, $item["date"])." | "
- .$item["hash"]." | "
+ .mb_str_pad($item["hash"], $lengths["hash"])." | "
.$item["filesize"]."\n";
}
?>