aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ftask.php2
-rw-r--r--src/staff/task.php3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ftask.php b/src/ftask.php
index 8280109..73336c3 100644
--- a/src/ftask.php
+++ b/src/ftask.php
@@ -216,7 +216,7 @@ function DBOpenTasksInSites($contest,$site) {
function DBOpenTasksSNS($contest,$site,$st,$order='task',$adm=false) {
$c = DBConnect();
$sql = "select distinct t.tasknumber as number, t.taskdatediff as timestamp, t.usernumber as user, ".
- "u.username as username, t.color as color, t.colorname as colorname, " .
+ "u.username as username, u.userfullname as fullname, t.color as color, t.colorname as colorname, " .
"t.taskstatus as status, t.sitenumber as site, t.taskstaffnumber as staff, " .
"t.taskstaffsite as staffsite, t.taskdesc as description, tasksystem as system, " .
"t.taskfilename as filename, t.taskdata as oid, uu.username as staffname " .
diff --git a/src/staff/task.php b/src/staff/task.php
index 52d9665..3f95f75 100644
--- a/src/staff/task.php
+++ b/src/staff/task.php
@@ -128,8 +128,7 @@ for ($i=0; $i<count($task); $i++) {
}
echo "</td>\n";
if ($task[$i]["oid"] != null) {
- $msg = "///// " . $task[$i]["username"]." ".$task[$i]["username"]." ".$task[$i]["username"]." ".
- $task[$i]["username"]." ".$task[$i]["username"]." ".$task[$i]["username"];
+ $msg = "///// " . $task[$i]["username"]." -- ". substr($task[$i]["fullname"],0,40) ." -- ".$task[$i]["username"]." ";
echo " <td nowrap><a href=\"../filedownload.php?" . filedownload($task[$i]["oid"],$task[$i]["filename"]) .
"\">" . $task[$i]["filename"] . "</a>";
echo " <a href=\"#\" class=menu style=\"font-weight:bold\" onClick=\"window.open('../filewindow.php?".