summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-05-22 12:14:11 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-22 12:14:11 +0200
commit2b6f5f117a2044707c649cb892ac5fb5a72a9805 (patch)
treeed6489e767a316ee0fef9225e3ec8e0c0c22807b
parent55d7f35510ddc528423f07b1f164b3d2623a93f5 (diff)
Fix incorrect EXIF orientation on thumbnail history0.9.1
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 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]);