Skip to content
Browse files

Merge branch 'MDL-37552-23' of git://github.com/mouneyrac/moodle into…

… MOODLE_23_STABLE
  • Loading branch information...
2 parents bf5f227 + d270524 commit 6f9e83e892096818f191228a042fe46bb1bb536e @damyon damyon committed May 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/externallib.php
View
1 lib/externallib.php
@@ -687,6 +687,7 @@ function external_format_text($text, $textformat, $contextid, $component, $filea
$settings = external_settings::get_instance();
if ($settings->get_fileurl()) {
+ require_once($CFG->libdir . "/filelib.php");
$text = file_rewrite_pluginfile_urls($text, $settings->get_file(), $contextid, $component, $filearea, $itemid);
}

0 comments on commit 6f9e83e

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