conv_selected_option 함수 수정
This commit is contained in:
@ -779,7 +779,7 @@ function conv_selected_option($options, $value)
|
|||||||
if(!$options)
|
if(!$options)
|
||||||
return '';
|
return '';
|
||||||
|
|
||||||
$options = preg_replace('/(value=[\'\"]?'.$value.'[\'\"]?)/i', '\\1 selected', $options);
|
$options = str_replace('value="'.$value.'"', 'value="'.$value.'" selected', $options);
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user