Index: trunk/extensions/SemanticResultFormats/BibTeX/SRF_BibTeX.php |
— | — | @@ -272,7 +272,10 @@ |
273 | 273 | if ( $title ) { |
274 | 274 | foreach ( explode( ' ', $title ) as $titleWord ) { |
275 | 275 | $charsTitleWord = preg_split( '//', $titleWord, - 1, PREG_SPLIT_NO_EMPTY ); |
276 | | - $URI .= $charsTitleWord[0]; |
| 276 | + |
| 277 | + if ( !empty( $charsTitleWord ) ) { |
| 278 | + $URI .= $charsTitleWord[0]; |
| 279 | + } |
277 | 280 | } |
278 | 281 | } |
279 | 282 | |