Skip to content

Commit

Permalink
MDL-38545 Reports: PHP Strict Standards error in graph.php
Browse files Browse the repository at this point in the history
  • Loading branch information
scara authored and stronk7 committed Jun 5, 2013
1 parent ef8a1c4 commit ab8e75e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions report/log/graph.php
Expand Up @@ -130,6 +130,7 @@

$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);
Expand Down Expand Up @@ -191,6 +192,7 @@

$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);
Expand Down

0 comments on commit ab8e75e

Please sign in to comment.