@@ 2125-2134 (lines=10) @@ | ||
2122 | } |
|
2123 | else |
|
2124 | { |
|
2125 | for($i=0;$i<count($group_srl_list);$i++) |
|
2126 | { |
|
2127 | $output = $this->addMemberToGroup($args->member_srl,$group_srl_list[$i]); |
|
2128 | ||
2129 | if(!$output->toBool()) |
|
2130 | { |
|
2131 | $oDB->rollback(); |
|
2132 | return $output; |
|
2133 | } |
|
2134 | } |
|
2135 | } |
|
2136 | ||
2137 | $member_config = $oModuleModel->getModuleConfig('member'); |
|
@@ 2344-2352 (lines=9) @@ | ||
2341 | return $output; |
|
2342 | } |
|
2343 | // Enter one of the loop a |
|
2344 | for($i=0;$i<count($group_srl_list);$i++) |
|
2345 | { |
|
2346 | $output = $this->addMemberToGroup($args->member_srl,$group_srl_list[$i]); |
|
2347 | if(!$output->toBool()) |
|
2348 | { |
|
2349 | $oDB->rollback(); |
|
2350 | return $output; |
|
2351 | } |
|
2352 | } |
|
2353 | ||
2354 | // if group is changed, point changed too. |
|
2355 | $this->_updatePointByGroup($orgMemberInfo->member_srl, $group_srl_list); |