summaryrefslogtreecommitdiffstats
path: root/web/template/tu_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/tu_list.php')
-rw-r--r--web/template/tu_list.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index f734cec..f64d383 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -20,11 +20,7 @@
<tr>
<td class='<?php print $c ?>'><span class='f4'><span class='blue'>
<?php
- if (strlen($row["Agenda"]) >= $prev_Len) {
- $row["Agenda"] = htmlentities(substr($row["Agenda"], 0, $prev_Len)) . "...";
- } else {
- $row["Agenda"] = htmlentities($row["Agenda"]);
- }
+ $row["Agenda"] = htmlspecialchars(substr($row["Agenda"], 0, $prev_Len));
?>
<a href='tu.php?id=<?php print $row['ID'] ?>'><?php print $row["Agenda"] ?></a></span></span>
</td>