diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 09:12:38 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 09:12:38 +0000 |
| commit | 7e53a3e24b103d4a272a0f54a51be51e31ba8b0d (patch) | |
| tree | 234ebaab993f5b10af4c03458c746fe4c518ad3f | |
| parent | 899b31aa53d6a8d5e08d3dbe5f73d2d51690061c (diff) | |
| download | boca-7e53a3e24b103d4a272a0f54a51be51e31ba8b0d.tar.gz boca-7e53a3e24b103d4a272a0f54a51be51e31ba8b0d.zip | |
bf
| -rw-r--r-- | src/fproblem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fproblem.php b/src/fproblem.php index f4515da..f80de89 100644 --- a/src/fproblem.php +++ b/src/fproblem.php @@ -491,7 +491,7 @@ function DBGetAllProblems($contest) { $sql = "select distinct p.problemnumber as number, p.problemname as problem, " . "p.problemcolor as color, p.problemcolorname as colorname " . "from problemtable as p " . - "where p.contestnumber=$contest and (p.problembasefilename != '' or p.fake == 't') and p.problemfullname !~ '(DEL)' "; + "where p.contestnumber=$contest and (p.problembasefilename != '' or p.fake = 't') and p.problemfullname !~ '(DEL)' "; if ($b["currenttime"] < 0) $sql .= "and p.fake='t' "; $sql .= " order by p.problemnumber"; $r = DBExec($c, $sql, "DBGetAllProblems(get problems)"); |