aboutsummaryrefslogtreecommitdiff
path: root/src/fproblem.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-12 09:03:52 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-12 09:03:52 +0000
commit67eb54bd8d383f5b9bf54f1526219707438cac6d (patch)
treef55ff59798b77dff57b8ebc944d7f38d348ba6ba /src/fproblem.php
parent141293395de360e4a67ec89892c407b5d27cd9cd (diff)
downloadboca-67eb54bd8d383f5b9bf54f1526219707438cac6d.tar.gz
boca-67eb54bd8d383f5b9bf54f1526219707438cac6d.zip
hide probs in clars
Diffstat (limited to 'src/fproblem.php')
-rw-r--r--src/fproblem.php2
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)");