Correct quoting error with Sabre connector. Fix critical pg pbms

This commit is contained in:
Brice Maron 2012-11-14 20:10:24 +00:00
parent bcb9cf3c06
commit bfff3d3f9b

View file

@ -278,7 +278,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
//remove etag for all Shared folders
$query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
.' WHERE `propertypath` = "/Shared"'
.' WHERE `propertypath` = \'/Shared\' '
);
$query->execute(array());