diff options
Diffstat (limited to 'src/ftask.php')
| -rw-r--r-- | src/ftask.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ftask.php b/src/ftask.php index c54503a..643554e 100644 --- a/src/ftask.php +++ b/src/ftask.php @@ -15,7 +15,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //////////////////////////////////////////////////////////////////////////////// -// Last modified 13/aug/2017 by cassio@ime.usp.br function DBDropTaskTable() { $c = DBConnect(); $r = DBExec($c, "drop table \"tasktable\"", "DBDropTaskTable(drop table)"); @@ -226,7 +225,7 @@ function DBOpenTasksSNS($contest,$site,$st,$order='task',$adm=false) { "usertable as u " . "where t.contestnumber=$contest and u.contestnumber=t.contestnumber and ". "u.usernumber=t.usernumber and u.usersitenumber=t.sitenumber"; - if ($site != "x") { + if (strpos($site,"x")===false) { $str = explode(",", $site); $sql .= " and (t.sitenumber=-1"; for ($i=0;$i<count($str);$i++) { |