summaryrefslogtreecommitdiffstats
path: root/application/service/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/service/files.php')
-rw-r--r--application/service/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/service/files.php b/application/service/files.php
index b4b7759e0..962939c87 100644
--- a/application/service/files.php
+++ b/application/service/files.php
@@ -30,7 +30,7 @@ class files {
SELECT sum(filesize) sum
FROM (
SELECT DISTINCT hash, filesize
- FROM files
+ FROM `".$CI->db->dbprefix."files`
WHERE user = ?
) sub
", array($user))->row_array();