Skip to content

Commit 6333c81

Browse files
Apply suggestion from @nickvergessen
Co-authored-by: Joas Schilling <[email protected]> Signed-off-by: Benjamin Gaussorgues <[email protected]>
1 parent 6dca476 commit 6333c81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Config/UserMountCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public function getMountsForFileId($fileId, $user = null) {
371371
->andWhere(
372372
$builder->expr()->orX(
373373
$builder->expr()->eq('f.fileid', $builder->createNamedParameter($fileId)),
374-
$builder->expr()->eq('f.path', $builder->createNamedParameter('')),
374+
$builder->expr()->emptyString('f.path'),
375375
$builder->expr()->isNull('f.path'),
376376
$builder->expr()->eq(
377377
$builder->func()->concat('f.path', $builder->createNamedParameter('/')),

0 commit comments

Comments
 (0)