mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- call htmlspeciachars() before output of comment
This commit is contained in:
parent
ac434cd171
commit
7c5805badb
|
@ -126,7 +126,7 @@ if ($approvalStatus['type'] == 0) {
|
||||||
print "<td>";
|
print "<td>";
|
||||||
printApprovalStatusText($approvalStatus["status"]);
|
printApprovalStatusText($approvalStatus["status"]);
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td>".$approvalStatus["comment"]."</td>";
|
print "<td>".htmlspecialchars($approvalStatus["comment"])."</td>";
|
||||||
$indUser = $dms->getUser($approvalStatus["userID"]);
|
$indUser = $dms->getUser($approvalStatus["userID"]);
|
||||||
print "<td>".$approvalStatus["date"]." - ". $indUser->getFullname() ."</td>";
|
print "<td>".$approvalStatus["date"]." - ". $indUser->getFullname() ."</td>";
|
||||||
print "</tr></tbody></table><br>\n";
|
print "</tr></tbody></table><br>\n";
|
||||||
|
|
|
@ -126,7 +126,7 @@ if ($reviewStatus['type'] == 0) {
|
||||||
print "<td>";
|
print "<td>";
|
||||||
printReviewStatusText($reviewStatus["status"]);
|
printReviewStatusText($reviewStatus["status"]);
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td>".$reviewStatus["comment"]."</td>";
|
print "<td>".htmlspecialchars($reviewStatus["comment"])."</td>";
|
||||||
$indUser = $dms->getUser($reviewStatus["userID"]);
|
$indUser = $dms->getUser($reviewStatus["userID"]);
|
||||||
print "<td>".$reviewStatus["date"]." - ". htmlspecialchars($indUser->getFullname()) ."</td>";
|
print "<td>".$reviewStatus["date"]." - ". htmlspecialchars($indUser->getFullname()) ."</td>";
|
||||||
print "</tr></tbody></table><br>";
|
print "</tr></tbody></table><br>";
|
||||||
|
@ -164,7 +164,7 @@ else if ($reviewStatus['type'] == 1) {
|
||||||
print "<td>";
|
print "<td>";
|
||||||
printReviewStatusText($reviewStatus["status"]);
|
printReviewStatusText($reviewStatus["status"]);
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td>".$reviewStatus["comment"]."</td>";
|
print "<td>".htmlspecialchars($reviewStatus["comment"])."</td>";
|
||||||
$indUser = $dms->getUser($reviewStatus["userID"]);
|
$indUser = $dms->getUser($reviewStatus["userID"]);
|
||||||
print "<td>".$reviewStatus["date"]." - ". htmlspecialchars($indUser->getFullname()) ."</td>";
|
print "<td>".$reviewStatus["date"]." - ". htmlspecialchars($indUser->getFullname()) ."</td>";
|
||||||
print "</tr></tbody></table><br>\n";
|
print "</tr></tbody></table><br>\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user