diff --git a/adm/menu_form.php b/adm/menu_form.php index 15592bd33..8dee73269 100644 --- a/adm/menu_form.php +++ b/adm/menu_form.php @@ -8,6 +8,8 @@ if ($is_admin != 'super') $g5['title'] = '메뉴 추가'; include_once(G5_PATH.'/head.sub.php'); +$code = isset($code) ? preg_replace('/[^0-9a-zA-Z]/', '', strip_tags($code)) : ''; + // 코드 if($new == 'new' || !$code) { $code = base_convert(substr($code,0, 2), 36, 10);