Permalink
Browse files

MDL-28444 synchronized datasets: fix typo in get_variants_selection_s…

…eed()
  • Loading branch information...
bostelm committed Aug 20, 2011
1 parent 4f36324 commit 409199d660142d21631b15b676de56386644e069
Showing with 2 additions and 2 deletions.
  1. +1 −1 question/type/calculated/question.php
  2. +1 −1 question/type/calculatedmulti/question.php
@@ -80,7 +80,7 @@ public function get_num_variants() {
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();
@@ -72,7 +72,7 @@ public function get_num_variants() {
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();

0 comments on commit 409199d

Please sign in to comment.