summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/NC13/RepairInvalidPaths.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Repair/NC13/RepairInvalidPaths.php')
-rw-r--r--lib/private/Repair/NC13/RepairInvalidPaths.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/NC13/RepairInvalidPaths.php b/lib/private/Repair/NC13/RepairInvalidPaths.php
index 734ee8a4ca6..b7a22c6a7f3 100644
--- a/lib/private/Repair/NC13/RepairInvalidPaths.php
+++ b/lib/private/Repair/NC13/RepairInvalidPaths.php
@@ -70,7 +70,7 @@ class RepairInvalidPaths implements IRepairStep {
->from('filecache', 'f')
->innerJoin('f', 'filecache', 'p', $builder->expr()->andX(
$builder->expr()->eq('f.parent', 'p.fileid'),
- $builder->expr()->neq('p.name', $builder->createNamedParameter(''))
+ $builder->expr()->isNotNull('p.name')
))
->where($builder->expr()->neq('f.path', $computedPath))
->setMaxResults(self::MAX_ROWS);