Skip to content

Commit

Permalink
Merge branch 'MDL-63717-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Nov 5, 2018
2 parents 5b28568 + 818d40a commit 4f26d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/tool/mobile/classes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ public static function get_public_config() {

// Check that we are receiving a moodle_url object, themes can override get_logo_url and may return incorrect values.
if (($logourl = $OUTPUT->get_logo_url()) && $logourl instanceof moodle_url) {
$settings['logourl'] = $logourl->out(false);
$settings['logourl'] = clean_param($logourl->out(false), PARAM_URL);
}
if (($compactlogourl = $OUTPUT->get_compact_logo_url()) && $compactlogourl instanceof moodle_url) {
$settings['compactlogourl'] = $compactlogourl->out(false);
$settings['compactlogourl'] = clean_param($compactlogourl->out(false), PARAM_URL);
}

// Identity providers.
Expand Down

0 comments on commit 4f26d21

Please sign in to comment.