Skip to content
Permalink
Browse files
Merge branch 'MDL-64730-lti-adv-0score-35' of https://github.com/Ceng…
…ageEng/moodle into MOODLE_35_STABLE
  • Loading branch information
David Monllaó committed Feb 12, 2019
2 parents 6699b20 + be5dd33 commit 799e4e2fbfa5696eaa388aa5a02b18d132dc5481
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 799e4e2

Please sign in to comment.