Permalink
Browse files

correcting datasets to $datasets line 248

  • Loading branch information...
1 parent 3ba9c85 commit 3449775fb9a9817c32eb79394064d08225f990c0 pichetp committed May 18, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/type/datasetdependent/abstractqtype.php
@@ -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++;
}

0 comments on commit 3449775

Please sign in to comment.