mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Merge branch 'm25_MDL-38545_PHP_Strict_error' of https://github.com/scara/moodle
This commit is contained in:
commit
3294f68f4a
@ -130,6 +130,7 @@ if ($type === "usercourse.png") {
|
||||
|
||||
$graph = new graph(750, 400);
|
||||
|
||||
$a = new stdClass();
|
||||
$a->coursename = format_string($course->shortname, true, array('context' => $coursecontext));
|
||||
$a->username = fullname($user, true);
|
||||
$graph->parameter['title'] = get_string("hitsoncourse", "", $a);
|
||||
@ -191,6 +192,7 @@ if ($type === "usercourse.png") {
|
||||
|
||||
$graph = new graph(750, 400);
|
||||
|
||||
$a = new stdClass();
|
||||
$a->coursename = format_string($course->shortname, true, array('context' => $coursecontext));
|
||||
$a->username = fullname($user, true);
|
||||
$graph->parameter['title'] = get_string("hitsoncoursetoday", "", $a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user