aboutsummaryrefslogtreecommitdiff
path: root/src/fcontest.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcontest.php')
-rw-r--r--src/fcontest.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}