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

This commit is contained in:
Sara Arjona
2021-06-22 10:21:13 +02:00
+1 -1
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