Permalink
Browse files

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

  • Loading branch information...
1 parent ef8a1c4 commit ab8e75ef407028c94a55bad76e6fde0be02c6311 @scara scara committed with stronk7 Apr 2, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 report/log/graph.php
@@ -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);
@@ -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);

0 comments on commit ab8e75e

Please sign in to comment.