app/Models/Word.php: in getRandom() fix where clause
This commit is contained in:
parent
d5572bfdc5
commit
ead6afe0f5
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Word extends Model
|
|||
}
|
||||
|
||||
if (count($exclude) > 0) {
|
||||
$q->where("uuid", 'NOT IN', $exclude);
|
||||
$q->whereNotIn("uuid", $exclude);
|
||||
}
|
||||
return $q->first();
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue