aboutsummaryrefslogtreecommitdiff
path: root/src/fclar.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fclar.php')
-rw-r--r--src/fclar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fclar.php b/src/fclar.php
index 72364e8..4555e07 100644
--- a/src/fclar.php
+++ b/src/fclar.php
@@ -478,7 +478,7 @@ function DBOpenClarsSNS($contest,$site,$st,$order='clar') {
"from clartable as c, problemtable as p " .
"where c.contestnumber=$contest and p.contestnumber=c.contestnumber and " .
"c.clarproblem=p.problemnumber";
- if ($site != "x") {
+ if (strpos($site,"x")===false) {
$str = explode(",", $site);
$sql .= " and (c.clarstatus='answeredall'";
for ($i=0;$i<count($str);$i++) {