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:
f10721d
)
MDL-60072 mod_lesson: Add missing name attribute
author
Andrew Nicols
<andrew@nicols.co.uk>
Fri, 20 Oct 2017 03:43:15 +0000
(11:43 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Fri, 20 Oct 2017 03:43:15 +0000
(11:43 +0800)
mod/lesson/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/lesson/lib.php
b/mod/lesson/lib.php
index
1e74ecd
..
96931c5
100644
(file)
--- a/
mod/lesson/lib.php
+++ b/
mod/lesson/lib.php
@@
-222,7
+222,7
@@
function lesson_update_events($lesson, $override = null) {
unset($event->id);
}
$event->type = CALENDAR_EVENT_TYPE_ACTION;
- $event->name = get_string('lessoneventcloses', 'lesson');
+ $event->name = get_string('lessoneventcloses', 'lesson'
, $eventname
);
$event->timestart = $deadline;
$event->timesort = $deadline;
$event->eventtype = LESSON_EVENT_TYPE_CLOSE;