use sql field names with tables where join happens
mapguesser/pipeline/pr-develop This commit looks good

This commit is contained in:
bence committed 2023-05-02 18:10:22 +02:00
1 parent afd58bb91b
commit c02e35580f
5 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ class UserInChallengeRepository
$select = new Select(\Container::$dbConnection);
$select->where('user_id', '=', $userId);
$select->where('token', '=', $token);
$select->where(['user_in_challenge__challenge', 'token'], '=', $token);
return \Container::$persistentDataManager->selectFromDb($select, UserInChallenge::class, true, $withRelations);
}