Fixed some codacy issues

pull/2590/head
meuhland 7 years ago committed by Angel Fernando Quiroz Campos
parent 2219fd4fb5
commit 23e5f3fd1b
  1. 8
      plugin/ims_lti/form.php

@ -85,11 +85,11 @@ $result = $oauth->sign(array(
<body> <body>
<form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded"> <form action="<?php echo $tool->getLaunchUrl() ?>" name="ltiLaunchForm" method="post" encType="application/x-www-form-urlencoded">
<?php <?php
foreach($result["parameters"] as $key => $values) //Dump parameters foreach($result["parameters"] as $key => $values) //Dump parameters
{ {
echo("<input type='hidden' name='$key' value='$values' />"); echo("<input type='hidden' name='$key' value='$values' />");
} }
?> ?>
<input type="submit" value="Press to continue to external tool"/> <input type="submit" value="Press to continue to external tool"/>
</form> </form>

Loading…
Cancel
Save