@@ 2220-2229 (lines=10) @@ | ||
2217 | } |
|
2218 | else |
|
2219 | { |
|
2220 | for($i=0;$i<count($group_srl_list);$i++) |
|
2221 | { |
|
2222 | $output = $this->addMemberToGroup($args->member_srl,$group_srl_list[$i]); |
|
2223 | ||
2224 | if(!$output->toBool()) |
|
2225 | { |
|
2226 | $oDB->rollback(); |
|
2227 | return $output; |
|
2228 | } |
|
2229 | } |
|
2230 | } |
|
2231 | ||
2232 | $member_config = $oModuleModel->getModuleConfig('member'); |
|
@@ 2439-2447 (lines=9) @@ | ||
2436 | return $output; |
|
2437 | } |
|
2438 | // Enter one of the loop a |
|
2439 | for($i=0;$i<count($group_srl_list);$i++) |
|
2440 | { |
|
2441 | $output = $this->addMemberToGroup($args->member_srl,$group_srl_list[$i]); |
|
2442 | if(!$output->toBool()) |
|
2443 | { |
|
2444 | $oDB->rollback(); |
|
2445 | return $output; |
|
2446 | } |
|
2447 | } |
|
2448 | ||
2449 | // if group is changed, point changed too. |
|
2450 | $this->_updatePointByGroup($orgMemberInfo->member_srl, $group_srl_list); |