Skip to content

Commit 13846ac

Browse files
Merge pull request #36266 from nextcloud/bugfix/noid/fix-double-where-in-custom-property-test
Fix double where in CustomProperiesBackendTest
2 parents 279c7d1 + ab96942 commit 13846ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/tests/unit/DAV/CustomPropertiesBackendTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected function getProps(string $user, string $path) {
107107
$query->select('propertyname', 'propertyvalue')
108108
->from('properties')
109109
->where($query->expr()->eq('userid', $query->createNamedParameter($user)))
110-
->where($query->expr()->eq('propertypath', $query->createNamedParameter($this->formatPath($path))));
110+
->andWhere($query->expr()->eq('propertypath', $query->createNamedParameter($this->formatPath($path))));
111111

112112
$result = $query->execute();
113113
$data = [];

0 commit comments

Comments
 (0)