summaryrefslogtreecommitdiffstats
path: root/frontends/php/latest.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-25 11:42:34 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-25 11:42:34 +0000
commitedae9a3b442bd960446714093786bad5bfbbb4f3 (patch)
treec4b8bef5172d58757a8d946f99a3a90048d9d107 /frontends/php/latest.php
parent61fdae53dc1af1bd7276adeb85c7de5b85760e9e (diff)
- fix to show HTML characters of string items in Latest Values and
History (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@866 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/latest.php')
-rw-r--r--frontends/php/latest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php
index 52b93ad7..f2adb4e6 100644
--- a/frontends/php/latest.php
+++ b/frontends/php/latest.php
@@ -280,7 +280,7 @@
}
else
{
- echo "<td>"; echo substr($row["lastvalue"],0,20)," ..."; echo "</td>";
+ echo "<td>"; echo htmlspecialchars(substr($row["lastvalue"],0,20)." ..."); echo "</td>";
}
}
else