Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

correcting datasets to $datasets line 248

  • Loading branch information...
commit 3449775fb9a9817c32eb79394064d08225f990c0 1 parent 3ba9c85
pichetp authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/type/datasetdependent/abstractqtype.php
4 question/type/datasetdependent/abstractqtype.php
View
@@ -248,7 +248,7 @@ function preparedatasets($form , $questionfromid='0'){
}
}
}
- return datasets ;
+ return $datasets ;
}
/**
* this version save the available data at the different steps of the question editing process
@@ -479,7 +479,7 @@ function save_as_new_dataset_definitions($form, $initialid) {
foreach($olditems as $item ){
$item->definition = $datasetdef->id;
if (!insert_record('question_dataset_items', $item)) {
- error("Unable to insert dataset item $item->number with $item->value for $datasetdef->name");
+ error("Unable to insert dataset item $item->itemnumber with $item->value for $datasetdef->name");
}
$itemcount++;
}
Please sign in to comment.
Something went wrong with that request. Please try again.