From 2b6f5f117a2044707c649cb892ac5fb5a72a9805 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 22 May 2015 12:14:11 +0200 Subject: Fix incorrect EXIF orientation on thumbnail 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 41a2c4908..cb7889bac 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -647,7 +647,7 @@ class File extends MY_Controller { foreach($query as $key => $item) { assert($item["user"] === $user); - $item["data_id"] = $item['hash']."-".$item['id']; + $item["data_id"] = $item['hash']."-".$item['storage_id']; $query[$key]["data_id"] = $item["data_id"]; if (!$this->mfile->valid_id($item["id"])) { unset($query[$key]); -- cgit v1.2.3-24-g4f1b