diff --git a/src/Models/SearchParsers/PostSearchParser.php b/src/Models/SearchParsers/PostSearchParser.php index 6ef1ac9a..adbfb54f 100644 --- a/src/Models/SearchParsers/PostSearchParser.php +++ b/src/Models/SearchParsers/PostSearchParser.php @@ -93,7 +93,7 @@ class PostSearchParser extends AbstractSearchParser 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); return new Sql\EqualsFunctor('post.uploader_id', new Sql\Binding($user->id));