summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-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]);