Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -614,7 +614,7 @@ |
615 | 615 | $html = preg_replace( "|(<option[^<>]*) selected|i", "$1", $html ); # remove the currently selected option |
616 | 616 | if( $v ) { |
617 | 617 | foreach( self::split( $v ) as $v ) { |
618 | | - $v = preg_quote( htmlentities( $v ), '|' ); |
| 618 | + $v = preg_quote( $v, '|' ); |
619 | 619 | $html = preg_match( "|<option[^>]+value\s*=|is", $html ) |
620 | 620 | ? preg_replace( "|(<option)([^>]+value\s*=\s*[\"']{$v}['\"])|is", "$1 selected$2", $html ) |
621 | 621 | : preg_replace( "|(<option[^>]*)(?=>$v</option>)|is", "$1 selected", $html ); |