1
1
Fork 0

profile extra fields, profile deletion

This commit is contained in:
Mike Macgirvin 2010-07-10 16:47:10 -07:00
commit 79725b28cf
4 changed files with 104 additions and 22 deletions

View file

@ -190,7 +190,9 @@ function notags($string) {
// The PHP built-in tag escape function has traditionally been buggy
if(! function_exists('escape_tags')) {
function escape_tags($string) {
return(str_replace(array("<",">","&"), array('&lt;','&gt;','&amp;'), $string));
return(str_replace(
array('&', '"', "'", '<', '>'),
array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string));
}}
if(! function_exists('login')) {