MDL-38545 Reports: PHP Strict Standards error in graph.php

This commit is contained in:
Matteo Scaramuccia
2013-04-02 22:12:47 +02:00
parent fe33d24cab
commit 5c2a800bfa
+2
View File
@@ -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);