Fixed backticks in PostSearchParser
This commit is contained in:
parent
8c3feaeccf
commit
9ad1507b53
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class PostSearchParser extends AbstractSearchParser
|
||||||
return new Sql\ExistsFunctor($innerStmt);
|
return new Sql\ExistsFunctor($innerStmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
elseif (in_array($key, ['submit', 'upload', `uploads`, 'uploader', 'uploaded']))
|
elseif (in_array($key, ['submit', 'upload', 'uploads', 'uploader', 'uploaded']))
|
||||||
{
|
{
|
||||||
$user = UserModel::findByNameOrEmail($value);
|
$user = UserModel::findByNameOrEmail($value);
|
||||||
return new Sql\EqualsFunctor('post.uploader_id', new Sql\Binding($user->id));
|
return new Sql\EqualsFunctor('post.uploader_id', new Sql\Binding($user->id));
|
||||||
|
|
Loading…
Reference in a new issue