Skip to content
Permalink
Browse files

MDL-57259 external: fix page url debug in fragment loading

  • Loading branch information...
ryanwyllie committed Jul 24, 2017
1 parent 8d826b1 commit d92ef7d2c5ff5857874349e11837791934e38065
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/external/externallib.php
@@ -321,6 +321,8 @@ public static function get_fragment($component, $callback, $contextid, $args = n
self::validate_context($context);
$arguments['context'] = $context;
// Hack alert: Set a default URL to stop the annoying debug.
$PAGE->set_url('/');
// Hack alert: Forcing bootstrap_renderer to initiate moodle page.
$OUTPUT->header();

0 comments on commit d92ef7d

Please sign in to comment.
You can’t perform that action at this time.