Skip to content

Commit

Permalink
Merge branch 'MDL-60762-master' of git://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta authored and stronk7 committed Mar 28, 2018
2 parents 99feb82 + 7ccb6bb commit 51c6cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/usertours/classes/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ public static function update_shipped_tours() {
$existingtourrecords->close();

foreach ($shippedtours as $filename => $version) {
$filepath = $CFG->dirroot . '/admin/tool/usertours/tours/' . $filename;
$filepath = $CFG->dirroot . "/{$CFG->admin}/tool/usertours/tours/" . $filename;
$tourjson = file_get_contents($filepath);
$tour = self::import_tour_from_json($tourjson);

Expand Down

0 comments on commit 51c6cfb

Please sign in to comment.