Skip to content
Snippets Groups Projects
Commit 5b594de4 authored by Tim Steiner's avatar Tim Steiner
Browse files

Added a couple of htmlspecialchar filters.

parent cfb9f9ec
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<?php foreach ($this->approvalChains as $approvalChain) { ?> <?php foreach ($this->approvalChains as $approvalChain) { ?>
<li> <li>
<a href="/ApprovalChainManager/EditChain/<?php echo $approvalChain->getPrimaryKey(); ?>"> <a href="/ApprovalChainManager/EditChain/<?php echo $approvalChain->getPrimaryKey(); ?>">
<?php echo $approvalChain->name; ?> <?php echo htmlspecialchars($approvalChain->name); ?>
</a> </a>
</li> </li>
<?php } ?> <?php } ?>
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</td> </td>
<td><?php echo $originalCourse->getHomeCollege()->name; ?></td> <td><?php echo $originalCourse->getHomeCollege()->name; ?></td>
<td><?php echo $request->type->name; ?></td> <td><?php echo $request->type->name; ?></td>
<td><?php echo $request->getCurrentApprovalBody()->name; ?></td> <td><?php echo htmlspecialchars($request->getCurrentApprovalBody()->name); ?></td>
<td> <td>
<?php <?php
if ($request->complete == 'yes') { if ($request->complete == 'yes') {
...@@ -138,7 +138,8 @@ ...@@ -138,7 +138,8 @@
} else { } else {
echo $request->getCurrentAction()->name; echo $request->getCurrentAction()->name;
} }
?> </td> ?>
</td>
<td> <td>
<a href="/Request/View/<?php echo $request->getPrimaryKey(); ?>">View</a> <a href="/Request/View/<?php echo $request->getPrimaryKey(); ?>">View</a>
<a href="/Request/Load/<?php echo $request->getPrimaryKey(); ?>">Edit</a> <a href="/Request/Load/<?php echo $request->getPrimaryKey(); ?>">Edit</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment