Skip to content

Commit

Permalink
Merge branch 'MDL-49170_master' of https://github.com/totara/openbadges
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 17, 2015
2 parents 6add8c5 + aebac57 commit 58d5cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badges/backpackconnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// Audience is the site url scheme + host + port only.
$wwwparts = parse_url($CFG->wwwroot);
$audience = $wwwparts['scheme'] . '://' . $wwwparts['host'];
$audience .= isset($wwwparts['port']) ? $wwwparts['port'] : '';
$audience .= isset($wwwparts['port']) ? ':' . $wwwparts['port'] : '';
$params = 'assertion=' . urlencode($assertion) . '&audience=' .
urlencode($audience);

Expand Down

0 comments on commit 58d5cc5

Please sign in to comment.