aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/src/fcontest.php
diff options
context:
space:
mode:
Diffstat (limited to 'boca-1.5.0/src/fcontest.php')
-rw-r--r--boca-1.5.0/src/fcontest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boca-1.5.0/src/fcontest.php b/boca-1.5.0/src/fcontest.php
index 077b4ec..ea426f3 100644
--- a/boca-1.5.0/src/fcontest.php
+++ b/boca-1.5.0/src/fcontest.php
@@ -237,10 +237,10 @@ function DBAllSiteTime($contest, $site) {
return $a;
}
-function DBUserInfo($contest, $site, $user) {
+function DBUserInfo($contest, $site, $user, $c=null) {
$sql = "select * from usertable where usernumber=$user and usersitenumber=$site and " .
"contestnumber=$contest";
- $a = DBGetRow ($sql, 0);
+ $a = DBGetRow ($sql, 0, $c);
if ($a == null) {
LOGError("Unable to find the user in the database. SQL=(" . $sql . ")");
MSGError("Unable to find the user in the database. Contact an admin now!");