mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
when add new group, check group title
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12199 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
036df30b85
commit
ba1424f792
1 changed files with 11 additions and 0 deletions
|
|
@ -1060,6 +1060,17 @@
|
|||
function procMemberAdminGroupConfig() {
|
||||
$vars = Context::getRequestVars();
|
||||
|
||||
if(is_array($vars->group_titles))
|
||||
{
|
||||
foreach($vars->group_titles AS $key=>$value)
|
||||
{
|
||||
if(!$value)
|
||||
{
|
||||
return new Object(-1,'msg_insert_group_name');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$oMemberModel = &getModel('member');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue