Merge branch 'MDL-70750-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE

This commit is contained in:
Sara Arjona 2021-06-22 10:21:05 +02:00
commit ae9c02762e

View file

@ -307,7 +307,7 @@ class graph {
//print "$thisX, $thisY <br />";
if (($bar!='none') && (string)$thisY != 'none') {
if ($relatedset = $this->offset_relation[$set]) { // Moodle
if (isset($this->offset_relation[$set]) && $relatedset = $this->offset_relation[$set]) {
$yoffset = $this->calculated['y_plot'][$relatedset][$index]; // Moodle
} else { // Moodle
$yoffset = 0; // Moodle