public function get_variants_selection_seed() {
if (!empty($this->synchronised) &&
- $this->datasetloader->datasets_are_synchronised($question->category)) {
+ $this->datasetloader->datasets_are_synchronised($this->category)) {
return 'category' . $this->category;
} else {
return parent::get_variants_selection_seed();
public function get_variants_selection_seed() {
if (!empty($this->synchronised) &&
- $this->datasetloader->datasets_are_synchronised($question->category)) {
+ $this->datasetloader->datasets_are_synchronised($this->category)) {
return 'category' . $this->category;
} else {
return parent::get_variants_selection_seed();