Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -420,7 +420,7 @@ |
421 | 421 | * - $b is the expression from the recordtable query |
422 | 422 | */ |
423 | 423 | function cmpCallback( $a, $b, $operator ) { |
424 | | - $b = preg_replace( "|([/']|g", "\\$1", $b ); |
| 424 | + $b = preg_replace( "|([/']|", "\\$1", $b ); |
425 | 425 | switch ( $operator ) { |
426 | 426 | case '=': |
427 | 427 | $cond = preg_match( "/$b/i", $a ); |