Cache: fix property path for getting legacy etag
This commit is contained in:
parent
19c7d9c3dc
commit
1a874b9106
|
@ -90,7 +90,7 @@ class Legacy {
|
|||
$relativePath = '';
|
||||
}
|
||||
$query = \OC_DB::prepare('SELECT `propertyvalue` FROM `*PREFIX*properties` WHERE `userid` = ? AND propertypath = ? AND propertyname = "{DAV:}getetag"');
|
||||
$result = $query->execute(array($user, $relativePath));
|
||||
$result = $query->execute(array($user, '/' . $relativePath));
|
||||
if ($row = $result->fetchRow()) {
|
||||
return trim($row['propertyvalue'], '"');
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue