Browse Source

Merge pull request #36260 from nextcloud/bugfix/noid/fix-user-availability-selection

Fix WHERE condition when selecting user's availability for the status…
tags/v26.0.0beta1
Joas Schilling 1 year ago
parent
commit
3eda055c68
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/dav/lib/BackgroundJob/UserStatusAutomation.php

+ 1
- 1
apps/dav/lib/BackgroundJob/UserStatusAutomation.php View File

@@ -176,7 +176,7 @@ class UserStatusAutomation extends TimedJob {
->from('properties')
->where($query->expr()->eq('userid', $query->createNamedParameter($userId)))
->andWhere($query->expr()->eq('propertypath', $query->createNamedParameter($propertyPath)))
->where($query->expr()->eq('propertyname', $query->createNamedParameter($propertyName)))
->andWhere($query->expr()->eq('propertyname', $query->createNamedParameter($propertyName)))
->setMaxResults(1);

$result = $query->executeQuery();

Loading…
Cancel
Save