PostreSQL compatibility, fixes #2666
This commit is contained in:
parent
40627a05a8
commit
e75406e712
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/legacy.php
vendored
2
lib/files/cache/legacy.php
vendored
|
@ -97,7 +97,7 @@ class Legacy {
|
|||
$relativePath = '';
|
||||
}
|
||||
if(is_null($query)){
|
||||
$query = \OC_DB::prepare('SELECT `propertyvalue` FROM `*PREFIX*properties` WHERE `userid` = ? AND propertypath = ? AND propertyname = "{DAV:}getetag"');
|
||||
$query = \OC_DB::prepare('SELECT `propertyvalue` FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ? AND `propertyname` = \'{DAV:}getetag\'');
|
||||
}
|
||||
$result = $query->execute(array($user, '/' . $relativePath));
|
||||
if ($row = $result->fetchRow()) {
|
||||
|
|
Loading…
Reference in a new issue