mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 05:52:13 +09:00
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:
parent
4f4152e1ed
commit
782ca663af
1 changed files with 7 additions and 0 deletions
|
|
@ -264,6 +264,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Check format.
|
||||
$oValidator = new Validator();
|
||||
if(!$oValidator->applyRule('url', $info->homepage))
|
||||
{
|
||||
$info->homepage = '';
|
||||
}
|
||||
|
||||
$GLOBALS['__member_info__'][$info->member_srl] = $info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue