Skip to content

Commit

Permalink
clean up some escaped quotes in the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Sep 26, 2017
1 parent 85d33bc commit 33e2764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/_standard/gradebook/my_gradebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<tr>
<?php
if ( ($grade != '') && (($row['result_release']==AT_RELEASE_IMMEDIATE) || ($row['result_release']==AT_RELEASE_MARKED)) )
echo ' <td><a href="mods/_standard/tests/view_results.php?tid='.$row['id'].'&amp;rid='.$row_tr['result_id'].'">'.$row["title"].'</a></td>'."\n\r";
echo ' <td><a href="mods/_standard/tests/view_results.php?tid='.$row['id'].'&amp;rid='.$row_tr['result_id'].'">'.htmlspecialchars_decode(stripslashes($row["title"])).'</a></td>'."\n\r";
else
echo ' <td>'.$row["title"].'</td>'."\n\r";
?>
Expand All @@ -109,7 +109,7 @@
{
?>
<tr>
<td><?php echo $row["title"]; ?></td>
<td><?php echo htmlspecialchars_decode(stripslashes($row["title"])); ?></td>
<td><?php echo ($grade=="") ? _AT("na") : $grade; ?></td>
<td><?php echo get_class_avg($row["gradebook_test_id"]); ?></td>
<td><?php echo $row["due_date"]; ?></td>
Expand Down

0 comments on commit 33e2764

Please sign in to comment.