diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 09:03:52 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 09:03:52 +0000 |
| commit | 67eb54bd8d383f5b9bf54f1526219707438cac6d (patch) | |
| tree | f55ff59798b77dff57b8ebc944d7f38d348ba6ba | |
| parent | 141293395de360e4a67ec89892c407b5d27cd9cd (diff) | |
| download | boca-67eb54bd8d383f5b9bf54f1526219707438cac6d.tar.gz boca-67eb54bd8d383f5b9bf54f1526219707438cac6d.zip | |
hide probs in clars
| -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 b2f4e6a..7983916 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.problemfullname !~ '(DEL)' "; + "where p.contestnumber=$contest and p.problembasefilename != '' 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)"); |