Merge branch 'm25_MDL-38545_PHP_Strict_error' of https://github.com/scara/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-06-05 02:22:22 +02:00
commit 3294f68f4a

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);