Refine r10620.. Fix Issue 1920 on point module. Remove meaning-less spaces at the end of lines.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10621 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2012-04-26 07:34:26 +00:00
parent 2fdfe12c36
commit 27887492d4
2 changed files with 5 additions and 2 deletions

View file

@ -54,6 +54,9 @@
// Per-level group configurations // Per-level group configurations
foreach($group_list as $group) foreach($group_list as $group)
{ {
// Admin group should not be connected to point.
if($group->is_admin == 'Y' || $group->is_default == 'Y') continue;
$group_srl = $group->group_srl; $group_srl = $group->group_srl;
if($args->{'point_group_'.$group_srl}) if($args->{'point_group_'.$group_srl})
{ {

View file

@ -39,10 +39,10 @@
$selected_group_list = array(); $selected_group_list = array();
if(count($group_list)) { if(count($group_list)) {
foreach($group_list as $key => $val) { foreach($group_list as $key => $val) {
if($val->is_admin == 'Y' || $val->is_default == 'Y') continue; if($val->is_admin == 'Y' || $val->is_default == 'Y') continue;
$selected_group_list[$key] = $val; $selected_group_list[$key] = $val;
} }
} }
Context::set('group_list', $selected_group_list); Context::set('group_list', $selected_group_list);
//Security //Security
$security = new Security(); $security = new Security();