Index: trunk/extensions/SemanticResultFormats/BibTeX/SRF_BibTeX.php |
— | — | @@ -355,7 +355,7 @@ |
356 | 356 | $URI = ''; |
357 | 357 | if ( $author ) { |
358 | 358 | $arrayAuthor = explode( ' ', $author ); |
359 | | - $URI .= $arrayAuthor[1]; |
| 359 | + if(array_key_exists(1,$arrayAuthor)) $URI .= $arrayAuthor[1]; |
360 | 360 | } |
361 | 361 | if ( $year ) $URI .= $year; |
362 | 362 | if ( $title ) { |