mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-69905-master' of https://github.com/lameze/moodle
This commit is contained in:
commit
4ff322db08
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class block_recent_activity extends block_base {
|
|||
FROM {block_recent_activity}
|
||||
WHERE timecreated > ? AND courseid = ?
|
||||
GROUP BY cmid
|
||||
ORDER BY MAX(timecreated) ASC";
|
||||
ORDER BY MAX(timecreated) DESC";
|
||||
$params = array($timestart, $course->id);
|
||||
$logs = $DB->get_records_sql($sql, $params);
|
||||
if (isset($logs[0])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue