summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing_log/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing_log/index.php')
-rw-r--r--apps/files_sharing_log/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing_log/index.php b/apps/files_sharing_log/index.php
index ffacbdd8604..8d05e3fbd0a 100644
--- a/apps/files_sharing_log/index.php
+++ b/apps/files_sharing_log/index.php
@@ -13,7 +13,7 @@ OCP\App::setActiveNavigationEntry('files_sharing_log_index');
OCP\Util::addStyle('files_sharing_log', 'style');
-$query = OCP\DB::prepare('SELECT * FROM *PREFIX*sharing_log WHERE user_id = ?');
+$query = OCP\DB::prepare('SELECT * FROM `*PREFIX*sharing_log` WHERE `user_id` = ?');
$log = $query->execute(array(OCP\User::getUser()))->fetchAll();
$output = new OCP\Template('files_sharing_log', 'index', 'user');