mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 07:38:42 +00:00
fix: UOJBlog::getSolutionProblem()
This commit is contained in:
parent
0fd0be5485
commit
22e53b0359
@ -220,7 +220,7 @@ class UOJBlog {
|
|||||||
|
|
||||||
public function getSolutionProblem() {
|
public function getSolutionProblem() {
|
||||||
return UOJProblem::query(DB::selectSingle([
|
return UOJProblem::query(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'],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user