fix: UOJBlog::getSolutionProblem()

This commit is contained in:
Baoshuo Ren 2023-02-17 17:11:23 +08:00
parent 0fd0be5485
commit 22e53b0359
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -220,7 +220,7 @@ class UOJBlog {
public function getSolutionProblem() {
return UOJProblem::query(DB::selectSingle([
DB::lc(), "select 1 from problems_solutions",
DB::lc(), "select problem_id from problems_solutions",
"where", [
"blog_id" => $this->info['id'],
],