summaryrefslogtreecommitdiff
blob: c769006e9bbe1e8432b99f714896c8db9d707e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From bfff3d3f9baf5baaf9ea247d0a5d17ac498f8077 Mon Sep 17 00:00:00 2001
From: Brice Maron <brice@bmaron.net>
Date: Wed, 14 Nov 2012 20:10:24 +0000
Subject: [PATCH] Correct quoting error with Sabre connector. Fix critical pg
 pbms

---
 lib/connector/sabre/node.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 6a2ad22..bac4418 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -278,7 +278,7 @@ static public function removeETagPropertyForPath($path) {
 		
 		//remove etag for all Shared folders
 		$query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
-				.' WHERE `propertypath` = "/Shared"'
+				.' WHERE `propertypath` = \'/Shared\' '
 		);
 		$query->execute(array());
 		
-- 
1.7.10