From db8a70bbcb941fde96a0ac98919702c49814d0c5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 5 Feb 2015 21:48:16 +0100 Subject: fixup! Support database table prefixes Signed-off-by: Florian Pritz --- application/service/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/service') 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(); -- cgit v1.2.3-24-g4f1b