diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index 482896643..a3046afac 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -4,18 +4,20 @@ require_once './_common.php'; auth_check_menu($auth, $sub_menu, 'r'); +$ma_id = isset($_REQUEST['ma_id']) ? (int) $_REQUEST['ma_id'] : 0; + $ma_last_option = ""; $sql_common = " from {$g5['member_table']} "; $sql_where = " where (1) "; -$mb_id1 = isset($_POST['mb_id1']) ? $_POST['mb_id1'] : 1; +$mb_id1 = isset($_POST['mb_id1']) ? (int) $_POST['mb_id1'] : 1; $mb_id1_from = isset($_POST['mb_id1_from']) ? clean_xss_tags($_POST['mb_id1_from'], 1, 1, 30) : ''; $mb_id1_to = isset($_POST['mb_id1_to']) ? clean_xss_tags($_POST['mb_id1_to'], 1, 1, 30) : ''; $mb_email = isset($_POST['mb_email']) ? clean_xss_tags($_POST['mb_email'], 1, 1, 100) : ''; $mb_mailling = isset($_POST['mb_mailling']) ? clean_xss_tags($_POST['mb_mailling'], 1, 1, 100) : ''; -$mb_level_from = isset($_POST['mb_level_from'])? $_POST['mb_level_from'] : 1; -$mb_level_to = isset($_POST['mb_level_to']) ? $_POST['mb_level_to'] : 10; +$mb_level_from = isset($_POST['mb_level_from'])? (int) $_POST['mb_level_from'] : 1; +$mb_level_to = isset($_POST['mb_level_to']) ? (int) $_POST['mb_level_to'] : 10; // 회원ID ..에서 ..까지 if ($mb_id1 != 1) { @@ -81,7 +83,7 @@ require_once './admin.head.php';