issue 1558, If invalid format, remove value from member info

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10248 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-02-28 08:54:55 +00:00
parent 4f4152e1ed
commit 782ca663af

View file

@ -264,6 +264,13 @@
}
}
// Check format.
$oValidator = new Validator();
if(!$oValidator->applyRule('url', $info->homepage))
{
$info->homepage = '';
}
$GLOBALS['__member_info__'][$info->member_srl] = $info;
}