fix(web/problem/solution): UOJBlog::getSolutionProblemId()
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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