summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-05-28 18:18:51 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-06 09:56:01 +0200
commita5752a846318f9204c0fe81cf3020b1a923dac38 (patch)
tree15f63758a6fc100a8516ef8e7a9f82d4c42920a6 /apps/files_sharing/appinfo
parente362373a30198b0dac6fbc9cd751a5eafe19e21a (diff)
downloadnextcloud-server-a5752a846318f9204c0fe81cf3020b1a923dac38.tar.gz
nextcloud-server-a5752a846318f9204c0fe81cf3020b1a923dac38.zip
fix db query
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php
index bc17915613c..fc547ba349d 100644
--- a/apps/files_sharing/appinfo/update.php
+++ b/apps/files_sharing/appinfo/update.php
@@ -21,7 +21,7 @@ if (version_compare($installedVersion, '0.3.5.6', '<')) {
* should only be able to unshare single files but never to delete them.
*/
function updateFilePermissions($chunkSize = 99) {
- $query = OCP\DB::prepare('SELECT * FROM `*PREFIX*share` WHERE item_type = ?');
+ $query = OCP\DB::prepare('SELECT * FROM `*PREFIX*share` WHERE `item_type` = ?');
$result = $query->execute(array('file'));
$updatedRows = array();