Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-35620' of git://github.com/timhunt/moodle

  • Loading branch information...
commit fc561b20896100b2b3da2bfac5c68e8829b9df0c 2 parents 7a9b6cb + 65cf651
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/engine/questionattemptstep.php
View
2  question/engine/questionattemptstep.php
@@ -386,7 +386,7 @@ public static function load_from_records($records, $attemptstepid) {
$record = $currentrec;
$data = array();
while ($currentrec && $currentrec->attemptstepid == $attemptstepid) {
- if ($currentrec->name) {
+ if (!is_null($currentrec->name)) {
$data[$currentrec->name] = $currentrec->value;
}
$records->next();
Please sign in to comment.
Something went wrong with that request. Please try again.