mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 12:00:39 -05:00
Fix WHERE condition when selecting user's availability for the status automation
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e50d0d2440
commit
a305137ae2
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