From 22e53b035972b27691896a47e66468f6f1e178d5 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Fri, 17 Feb 2023 17:11:23 +0800 Subject: [PATCH] fix: UOJBlog::getSolutionProblem() --- web/app/models/UOJBlog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], ],