diff options
Diffstat (limited to 'lib/private/TextProcessing/Db/TaskMapper.php')
-rw-r--r-- | lib/private/TextProcessing/Db/TaskMapper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TextProcessing/Db/TaskMapper.php b/lib/private/TextProcessing/Db/TaskMapper.php index 6fde1e510b5..62dabea544f 100644 --- a/lib/private/TextProcessing/Db/TaskMapper.php +++ b/lib/private/TextProcessing/Db/TaskMapper.php @@ -91,8 +91,8 @@ class TaskMapper extends QBMapper { $qb = $this->db->getQueryBuilder(); $qb->select(Task::$columns) ->from($this->tableName) - ->where($qb->expr()->eq('app_id', $qb->createPositionalParameter($appId))) - ->andWhere($qb->expr()->eq('user_id', $qb->createPositionalParameter($userId))); + ->where($qb->expr()->eq('user_id', $qb->createPositionalParameter($userId))) + ->andWhere($qb->expr()->eq('app_id', $qb->createPositionalParameter($appId))); if ($identifier !== null) { $qb->andWhere($qb->expr()->eq('identifier', $qb->createPositionalParameter($identifier))); } |