function handleError($errors) { if (!empty($errors['target_c_commu_id'])) { } elseif (!empty($errors['body'])) { $target_c_commu_id = $this->requests['target_c_commu_id']; $tail = $GLOBALS['KTAI_URL_TAIL']; $p = array('target_c_commu_id' => $target_c_commu_id, 'msg' => 1); openpne_redirect('ktai', 'page_c_join_request', $p); } parent::handleError($errors); }
function handleError($errors) { if (!empty($errors['target_c_commu_id'])) { parent::handleError($errors); } $tail = $GLOBALS['KTAI_URL_TAIL']; $c_commu_id = $this->requests['target_c_commu_id']; if (!empty($errors['target_c_member_id'])) { $p = array('target_c_commu_id' => $c_commu_id, 'msg' => 7); openpne_redirect('ktai', 'page_c_invite', $p); } elseif (!empty($errors['body'])) { $p = array('target_c_commu_id' => $c_commu_id, 'msg' => 8); openpne_redirect('ktai', 'page_c_invite', $p); } else { parent::handleError($errors); } }