aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/friendlytime.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/output/friendlytime.php')
-rw-r--r--views/default/output/friendlytime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/output/friendlytime.php b/views/default/output/friendlytime.php
index 710079c2a..22f60d517 100644
--- a/views/default/output/friendlytime.php
+++ b/views/default/output/friendlytime.php
@@ -7,6 +7,6 @@
*/
$friendly_time = elgg_get_friendly_time($vars['time']);
-$timestamp = htmlentities(date(elgg_echo('friendlytime:date_format'), $vars['time']));
+$timestamp = htmlspecialchars(date(elgg_echo('friendlytime:date_format'), $vars['time']));
echo "<acronym title=\"$timestamp\">$friendly_time</acronym>";