Follow-up to commit fa7ad2f45d, which replaced short-tags with print statements. This one was missed (or, perhaps, has since crept in). A CodeSniffer test candidate, methinks!

This commit is contained in:
MarkMaldaba 2013-05-15 16:31:21 +01:00
parent c08825d7c3
commit f5e1d969fd

View file

@ -68,7 +68,7 @@ $(document).ready(function()
// Show sign in with Github button.
var el = $('#element-reference');
var rtn = <?= json_encode((empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); ?>;
var rtn = <?php print json_encode((empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); ?>;
var url = 'https://github.com/login/oauth/authorize?client_id=' + window.github_app_id + '&scope=repo&redirect_uri=' + rtn;
var btn = $('<a>').addClass('btn btn-inverse').text('Sign in with Github').attr('href', url);