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 571a4272f..85cef5490 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -687,7 +687,7 @@ class File extends MY_Controller {
assert($item["user"] === $user);
$item["data_id"] = $item['hash']."-".$item['storage_id'];
$query[$key]["data_id"] = $item["data_id"];
- if (!$this->mfile->valid_id($item["id"])) {
+ if (!$this->mfile->valid_filedata($item)) {
unset($query[$key]);
continue;
}