diff --git a/web/app/models/UOJBlog.php b/web/app/models/UOJBlog.php index 6186e5a..68fc9af 100644 --- a/web/app/models/UOJBlog.php +++ b/web/app/models/UOJBlog.php @@ -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'], ],