fix for similar fieldnames

This commit is contained in:
Ralf Becker 2001-07-01 21:30:43 +00:00
parent 7c34babf6c
commit 2743e1db3f

View File

@ -176,7 +176,7 @@ function cat_id( $cats )
if ($def = $defaults[$csv_field]) {
list( $info,$trans ) = explode($PSep,$def,2);
$t->set_var('trans',$trans);
$t->set_var('info_fields',str_replace($info.'">',$info.'" selected>',$info_name_options));
$t->set_var('info_fields',str_replace('="'.$info.'">','="'.$info.'" selected>',$info_name_options));
} else {
$t->set_var('trans','');
$t->set_var('info_fields',$info_name_options);