From 2264360272ec28ac895d6eea948efc06a4585e46 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 8 Oct 2013 15:45:52 +0200 Subject: [PATCH] fix escaping --- apps/files_sharing/appinfo/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index 87635a10b13..0d827da28ea 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -73,7 +73,7 @@ if (version_compare($installedVersion, '0.3', '<')) { if (version_compare($installedVersion, '0.3.5', '<')) { // get all shares where the original file no longer exists - $findShares = \OC_DB::prepare('SELECT `file_source` FROM `*PREFIX*share` LEFT JOIN `*PREFIX*filecache` ON `file_source` = `*PREFIX*filecache`.`fileid` WHERE `*PREFIX*filecache`.`fileid` IS NULL AND `*PREFIX*share`.`item_type` IN (`file`, `folder`)'); + $findShares = \OC_DB::prepare('SELECT `file_source` FROM `*PREFIX*share` LEFT JOIN `*PREFIX*filecache` ON `file_source` = `*PREFIX*filecache`.`fileid` WHERE `*PREFIX*filecache`.`fileid` IS NULL AND `*PREFIX*share`.`item_type` IN (\'file\', \'folder\')'); $sharesFound = $findShares->execute(array())->fetchAll(); // delete those shares from the oc_share table -- 2.39.5