| @@ 1146-1154 (lines=9) @@ | ||
| 1143 | { |
|
| 1144 | if(!$args->site_srl) $args->site_srl = 0; |
|
| 1145 | // Check the value of is_default. |
|
| 1146 | if($args->is_default != 'Y') |
|
| 1147 | { |
|
| 1148 | $args->is_default = 'N'; |
|
| 1149 | } |
|
| 1150 | else |
|
| 1151 | { |
|
| 1152 | $output = executeQuery('member.updateGroupDefaultClear', $args); |
|
| 1153 | if(!$output->toBool()) return $output; |
|
| 1154 | } |
|
| 1155 | ||
| 1156 | if(!isset($args->list_order) || $args->list_order=='') |
|
| 1157 | { |
|
| @@ 1179-1187 (lines=9) @@ | ||
| 1176 | if(!$args->site_srl) $args->site_srl = 0; |
|
| 1177 | // Check the value of is_default. |
|
| 1178 | if(!$args->group_srl) return new BaseObject(-1, 'lang->msg_not_founded'); |
|
| 1179 | if($args->is_default!='Y') |
|
| 1180 | { |
|
| 1181 | $args->is_default = 'N'; |
|
| 1182 | } |
|
| 1183 | else |
|
| 1184 | { |
|
| 1185 | $output = executeQuery('member.updateGroupDefaultClear', $args); |
|
| 1186 | if(!$output->toBool()) return $output; |
|
| 1187 | } |
|
| 1188 | ||
| 1189 | $output = executeQuery('member.updateGroup', $args); |
|
| 1190 | $this->_deleteMemberGroupCache($args->site_srl); |
|