diff options
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/cache/legacy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php index 55e40e1af72..d9ba36bb3a4 100644 --- a/lib/files/cache/legacy.php +++ b/lib/files/cache/legacy.php @@ -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 { |