summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Treat2015-02-15 17:02:22 +0000
committerRobert Treat2015-02-15 17:02:22 +0000
commit5cc012f28d6e8c2d094e8b4225895ac84a6f1b95 (patch)
tree32cac807265213e7d5857cbe6a4e09f6f9eb8546
parent319edabbbc91bcb8db69b5fe3f11414abe31142a (diff)
htmlescape column comments. per suggestion from github user nboutelier
-rw-r--r--classes/Misc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Misc.php b/classes/Misc.php
index 96a49534..1b34b14e 100644
--- a/classes/Misc.php
+++ b/classes/Misc.php
@@ -1989,7 +1989,7 @@
echo "<td class='comment_cell'>";
$val = value($column['field'], $tabledata->fields);
if (!is_null($val)) {
- echo $val;
+ echo htmlentities($val);
}
echo "</td>";
break;