Skip to content
Permalink
Browse files
Merge branch 'master' of https://github.com/CengageEng/moodle
  • Loading branch information
David Monllaó committed Feb 12, 2019
2 parents 59f75c4 + 25ad682 commit 9426a13cfef093f16d7ac28fa2871822f58e70a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/service/gradebookservices/classes/local/service/gradebookservices.php
@@ -326,7 +326,7 @@ public static function save_score($gradeitem, $score, $userid) {
require_once($CFG->libdir . '/gradelib.php');
$finalgrade = null;
$timemodified = null;
if (isset($score->scoreGiven) && $score->scoreGiven) {
if (isset($score->scoreGiven)) {
$finalgrade = grade_floatval($score->scoreGiven);
$max = 1;
if (isset($score->scoreMaximum)) {

0 comments on commit 9426a13

Please sign in to comment.