Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6207f81
)
quiz recent activity MDL-24528 was setting the activity userid to the attempt id...
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Tue, 5 Oct 2010 17:11:16 +0000
(17:11 +0000)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Tue, 5 Oct 2010 17:11:16 +0000
(17:11 +0000)
mod/quiz/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/quiz/lib.php
b/mod/quiz/lib.php
index
825fe24
..
38f799a
100644
(file)
--- a/
mod/quiz/lib.php
+++ b/
mod/quiz/lib.php
@@
-895,7
+895,7
@@
function quiz_get_recent_mod_activity(&$activities, &$index, $timestart,
$tmpactivity->content->maxgrade = null;
}
- $tmpactivity->user->id
= $attempt->
id;
+ $tmpactivity->user->id
= $attempt->user
id;
$tmpactivity->user->firstname = $attempt->firstname;
$tmpactivity->user->lastname = $attempt->lastname;
$tmpactivity->user->fullname = fullname($attempt, $viewfullnames);