Skip to content

Commit

Permalink
Fix course code that generates error in learningpath copy --ref BT#10…
Browse files Browse the repository at this point in the history
…701 #TMI
  • Loading branch information
NicoDucou committed Feb 5, 2016
1 parent 8321000 commit 97ed9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/coursecopy/classes/CourseBuilder.class.php
Expand Up @@ -80,7 +80,7 @@ public function __construct($type = '', $course = null)
}

$this->course = new Course();
$this->course->code = $_course['official_code'];
$this->course->code = $_course['code'];
$this->course->type = $type;
$this->course->path = api_get_path(SYS_COURSE_PATH).$_course['path'].'/';
$this->course->backup_path = api_get_path(SYS_COURSE_PATH).$_course['path'];
Expand Down

0 comments on commit 97ed9c8

Please sign in to comment.