| @@ 1124-1132 (lines=9) @@ | ||
| 1121 | { |
|
| 1122 | if(!$args->site_srl) $args->site_srl = 0; |
|
| 1123 | // Check the value of is_default. |
|
| 1124 | if($args->is_default != 'Y') |
|
| 1125 | { |
|
| 1126 | $args->is_default = 'N'; |
|
| 1127 | } |
|
| 1128 | else |
|
| 1129 | { |
|
| 1130 | $output = executeQuery('member.updateGroupDefaultClear', $args); |
|
| 1131 | if(!$output->toBool()) return $output; |
|
| 1132 | } |
|
| 1133 | ||
| 1134 | if(!isset($args->list_order) || $args->list_order=='') |
|
| 1135 | { |
|
| @@ 1157-1165 (lines=9) @@ | ||
| 1154 | if(!$args->site_srl) $args->site_srl = 0; |
|
| 1155 | // Check the value of is_default. |
|
| 1156 | if(!$args->group_srl) return new Object(-1, 'lang->msg_not_founded'); |
|
| 1157 | if($args->is_default!='Y') |
|
| 1158 | { |
|
| 1159 | $args->is_default = 'N'; |
|
| 1160 | } |
|
| 1161 | else |
|
| 1162 | { |
|
| 1163 | $output = executeQuery('member.updateGroupDefaultClear', $args); |
|
| 1164 | if(!$output->toBool()) return $output; |
|
| 1165 | } |
|
| 1166 | ||
| 1167 | $output = executeQuery('member.updateGroup', $args); |
|
| 1168 | $this->_deleteMemberGroupCache($args->site_srl); |
|