Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1305,7 +1305,7 @@ |
1306 | 1306 | # bug 7425 |
1307 | 1307 | $target = trim( $target ); |
1308 | 1308 | # Look at the first character |
1309 | | - if ( $target != '' && $target { 0 } === '/' ) { |
| 1309 | + if ( $target != '' && $target[0] === '/' ) { |
1310 | 1310 | # / at end means we don't want the slash to be shown |
1311 | 1311 | $m = array(); |
1312 | 1312 | $trailingSlashes = preg_match_all( '%(/+)$%', $target, $m ); |