Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Reverting Mike C's change in MDL-12016

  • Loading branch information...
commit 9deccd7a44eb9540b21ff3dd6da6f06f0e667183 1 parent 5580a59
thepurpleblob authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  question/format.php
2  question/format.php
@@ -229,7 +229,7 @@ function importprocess() {
229 229 if ($question->qtype=='category') {
230 230 if ($this->catfromfile) {
231 231 // find/create category object
232   - $catpath = $question->category['text'][0]['#'];
  232 + $catpath = $question->category;
233 233 $newcategory = create_category_path( $catpath, '/', $this->course->id );
234 234 if (!empty($newcategory)) {
235 235 $this->category = $newcategory;

0 comments on commit 9deccd7

Please sign in to comment.
Something went wrong with that request. Please try again.