Correcting a little error: datesetitem = array(); instead of datasetitem = array(); line +-550 $question->dataset[$datasetname]->datasetitem = array();
Correcting a little error: datesetitem = array(); instead of datasetitem = array();
line +-550 $question->dataset[$datasetname]->datasetitem = array();

dilawar/moodle