mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #36308 from nextcloud/backport/36260/stable25
[stable25] Fix WHERE condition when selecting user's availability for the status…
This commit is contained in:
commit
b72d3dcecc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue