Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -186,7 +186,7 @@ |
187 | 187 | # Loop through all records of this type adding only those that match the regex fields |
188 | 188 | $records = array(); |
189 | 189 | foreach( self::getRecordsByType( $type ) as $t ) { |
190 | | - if( empty( $wpTitle ) || preg_match( "|$wpTitle|i", $t->getPrefixedText() ) ) { |
| 190 | + if( empty( $wpTitle ) || preg_match( "#$wpTitle#i", $t->getPrefixedText() ) ) { |
191 | 191 | $a = new Article( $t ); |
192 | 192 | $text = $a->getContent(); |
193 | 193 | $match = true; |
Index: trunk/extensions/RecordAdmin/RecordAdmin.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | * @author Siebrand Mazeland |
12 | 12 | * @licence GNU General Public Licence 2.0 or later |
13 | 13 | */ |
14 | | -define( 'RECORDADMIN_VERSION', '1.3.4, 2011-08-18' ); |
| 14 | +define( 'RECORDADMIN_VERSION', '1.3.5, 2011-09-29' ); |
15 | 15 | |
16 | 16 | $wgRecordAdminExtPath = preg_replace( "|^.*(/extensions/.*$)|", "$wgScriptPath$1", dirname( __FILE__ ) ); |
17 | 17 | |