diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-01-23 15:59:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 15:59:39 +0100 |
commit | 3eda055c68146008c7ba460b2a4d50614d6aab05 (patch) | |
tree | 5a1726d2edd698965daa41432ed13b8a6f3fda3c /apps | |
parent | ba97587b85e661f4c07d21cc6b30856e964b5eff (diff) | |
parent | 1aba0e22ba152e87f80eb08a5e28d8611cd51877 (diff) | |
download | nextcloud-server-3eda055c68146008c7ba460b2a4d50614d6aab05.tar.gz nextcloud-server-3eda055c68146008c7ba460b2a4d50614d6aab05.zip |
Merge pull request #36260 from nextcloud/bugfix/noid/fix-user-availability-selection
Fix WHERE condition when selecting user's availability for the status…
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/BackgroundJob/UserStatusAutomation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/BackgroundJob/UserStatusAutomation.php b/apps/dav/lib/BackgroundJob/UserStatusAutomation.php index bbd92d903ee..94feadcae93 100644 --- a/apps/dav/lib/BackgroundJob/UserStatusAutomation.php +++ b/apps/dav/lib/BackgroundJob/UserStatusAutomation.php @@ -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(); |