projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54634ef
)
Error in the SQL - fixed now
author
martin
<martin>
Sun, 22 Sep 2002 03:57:56 +0000
(
03:57
+0000)
committer
martin
<martin>
Sun, 22 Sep 2002 03:57:56 +0000
(
03:57
+0000)
mod/survey/lib.php
patch
|
blob
|
history
diff --git
a/mod/survey/lib.php
b/mod/survey/lib.php
index d21a3c76f0ef0b000a2e85cd65aefb181d743b5f..270cb681edbb8e4d33f8377254d34a535803a1ae 100644
(file)
--- a/
mod/survey/lib.php
+++ b/
mod/survey/lib.php
@@
-87,7
+87,7
@@
function survey_print_recent_activity(&$logs, $isteacher=false) {
if ($log->module == "survey" and $log->action == "submit") {
$surveys[$log->id] = get_record_sql("SELECT s.name, u.firstname, u.lastname
FROM survey s, user u
- WHERE s.id = '$log->info' AND
e.user = u.id
");
+ WHERE s.id = '$log->info' AND
u.id = '$log->user'
");
$surveys[$log->info]->time = $log->time;
$surveys[$log->info]->url = $log->url;
}