1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-18 23:24:37 +00:00

fix(web/problem/solution): UOJBlog::getSolutionProblemId()

This commit is contained in:
Baoshuo Ren 2022-11-16 16:53:39 +08:00
parent 2a025e9ec9
commit 6ee92bc5ee
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

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