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 = str_replace( '/', '\/', $b ); |
| 424 | + $b = preg_replace( "|([/']|g", "\\$1", $b ); |
425 | 425 | switch ( $operator ) { |
426 | 426 | case '=': |
427 | 427 | $cond = preg_match( "/$b/i", $a ); |
Index: trunk/extensions/RecordAdmin/RecordAdmin.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * @licence GNU General Public Licence 2.0 or later |
13 | 13 | */ |
14 | 14 | |
15 | | -define( 'RECORDADMIN_VERSION', '0.11.11, 2010-04-21' ); |
| 15 | +define( 'RECORDADMIN_VERSION', '0.11.12, 2010-05-18' ); |
16 | 16 | |
17 | 17 | $wgRecordAdminUseNamespaces = false; # Whether record articles should be in a namespace of the same name as their type |
18 | 18 | $wgRecordAdminCategory = 'Records'; # Category containing record types |