Permalink
Browse files

Merge branch 'm23_MDL-36168' of git://github.com/danmarsden/moodle in…

…to MOODLE_23_STABLE
  • Loading branch information...
danpoltawski committed Nov 20, 2012
2 parents aaf19f1 + b7ed59c commit 81d1026d1c6c4fb1d4f23df13a71007356c8319c
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/mod_form.php
View
@@ -499,7 +499,7 @@ function get_data($slashed = true) {
}
// Turn off completion settings if the checkboxes aren't ticked
- $autocompletion = !empty($data->completion) && $data->completion == COMPLETION_TRACKING_AUTOMATIC;
+ $autocompletion = isset($data->completion) && $data->completion == COMPLETION_TRACKING_AUTOMATIC;
if (isset($data->completionstatusrequired) && is_array($data->completionstatusrequired)) {
$total = 0;

0 comments on commit 81d1026

Please sign in to comment.