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 committed Apr 2, 2013
1 parent d8201d4 commit c980b5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions report/log/graph.php
Original file line number Diff line number Diff line change
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 c980b5b

Please sign in to comment.