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 6a14fceee..ff112e3d4 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -808,7 +808,7 @@ class File extends MY_Controller {
$filename = trim($filename, "\r\n\0\t\x0B");
- service\files::add_file($id, $file["tmp_name"], $filename);
+ service\files::add_uploaded_file($id, $file["tmp_name"], $filename);
$ids[] = $id;
}