aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/src/ftask.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-08-22 14:39:03 +0000
committercassiopc <cassiopc@gmail.com>2012-08-22 14:39:03 +0000
commitfc7990c62d85fdebef4a438a1fbc9d69a3710d55 (patch)
treeba6e1a305b0e63fbeb719e1a682c8e5e578b726e /boca-1.5.0/src/ftask.php
parent059e2fdcf0cef7e3594a66e21b3fd682ac736856 (diff)
downloadboca-fc7990c62d85fdebef4a438a1fbc9d69a3710d55.tar.gz
boca-fc7990c62d85fdebef4a438a1fbc9d69a3710d55.zip
small bug fixes, inclusion of file size limit configurable
Diffstat (limited to 'boca-1.5.0/src/ftask.php')
-rw-r--r--boca-1.5.0/src/ftask.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boca-1.5.0/src/ftask.php b/boca-1.5.0/src/ftask.php
index 8265cc4..86417b2 100644
--- a/boca-1.5.0/src/ftask.php
+++ b/boca-1.5.0/src/ftask.php
@@ -419,13 +419,14 @@ function DBNewTask($param, $c=null) {
"VALUES ($contest, $site, $tasknumber, $user, $taskdate, $taskdatediff, $taskdatediffans, '$filename', $oid, '$status', " .
"'$desc', '$sys', '$color', '$colorname', $updatetime)",
"DBNewTask(insert task)");
+ if($sys=="t") $u="System";
+ else $u = "User $user";
+
if($cw) {
DBExec($c, "commit work", "DBNewTask(commit-insert)");
LOGLevel("$u submitted a task (#$tasknumber) on site #$site " .
"(filename=$filename, contest=$contest).",2);
}
- if($sys=="t") $u="System";
- else $u = "User $user";
$ret=2;
} else {
if($updatetime > $t) {