summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-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 78ecd5096..c133539f7 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -419,7 +419,7 @@ class File extends CI_Controller {
FROM files
WHERE user = ?
AND mimetype IN ('image/jpeg', 'image/png', 'image/gif')
- ORDER BY date ASC
+ ORDER BY date DESC
", array($user))->result_array();
foreach($query as $key => $item) {