Mercurial > hg > fapweb
changeset 133:cf53c6c7b797
Use chentities() here.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Oct 2013 21:49:37 +0300 |
parents | 0436079bcf46 |
children | 3ed09527e348 |
files | admajax.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/admajax.php Tue Oct 22 19:02:30 2013 +0300 +++ b/admajax.php Tue Oct 22 21:49:37 2013 +0300 @@ -58,8 +58,8 @@ foreach ($res as $item) { - $out1[] = $item["name"]." <".$item["email"].">"; - $out2[] = $item["email"]; + $out1[] = chentities($item["name"])." <".chentities($item["email"]).">"; + $out2[] = chentities($item["email"]); } echo "<br /><hr />".