mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-38545 Reports: PHP Strict Standards error in graph.php
This commit is contained in:
parent
d8201d49d8
commit
c980b5b2bb
@ -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