$c->whereAdd("group_id = {$this->to_group}");
if (!$c->find(true)) {
- if (!empty($request['_ignore_group_count']) && !$request['_ignore_group_count']) {
- $roo->jerr('not found');
+ if (empty($request['_ignore_group_count'])) {
+ $roo->jerr(array('errcode'=> '100'));
+ }
+
+ if (!$request['_ignore_group_count']) {
+ $roo->jerr('no_member',array('errcode'=> '100'));
}
- }
+ }
}
}