From c416fd4f6f06bd8c2a35288821e280dd45034375 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Thu, 19 Oct 2017 14:32:15 +0100 Subject: bf --- src/fcontest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fcontest.php') diff --git a/src/fcontest.php b/src/fcontest.php index 045f28e..e4a6f5d 100644 --- a/src/fcontest.php +++ b/src/fcontest.php @@ -1121,7 +1121,7 @@ function DBNewSite ($contest, $c=null, $param=array()) { } else { $a = DBGetRow ("select * from sitetable where contestnumber=$contest and sitenumber=$number", 0, $c); if($a != null) { - if($cw) DBExec($c, "commit work"); + if($cw) DBExec($c, "commit work"); return 1; } } -- cgit v1.2.3