Skip to content

Commit

Permalink
Merge branch 'MDL-67049' of https://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Nov 25, 2019
2 parents a5f618d + 8e98f82 commit d35fd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/grading/form/rubric/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public static function get_default_options() {
public function get_options() {
$options = self::get_default_options();
if (!empty($this->definition->options)) {
$thisoptions = json_decode($this->definition->options);
$thisoptions = json_decode($this->definition->options, true); // Assoc. array is expected.
foreach ($thisoptions as $option => $value) {
$options[$option] = $value;
}
Expand Down

0 comments on commit d35fd6e

Please sign in to comment.