Permalink
Browse files

Fix the rest of the tests

  • Loading branch information...
1 parent 3c35812 commit 8b36f5ef2057d3792d11248cf09407eb80086831 @CloCkWeRX CloCkWeRX committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Structures/BibTex.php
View
@@ -630,8 +630,8 @@ function _extractAuthors($entry) {
$jr = '';
if (strpos($author, ',') === false) {
$tmparray = array();
- $tmparray = explode(' ', $author);
- //$tmparray = explode(' |~', $author);
+ $tmparray = preg_split('/[\s\~]/', $author);
+
$size = sizeof($tmparray);
if (1 == $size) { //There is only a last
$last = $tmparray[0];

0 comments on commit 8b36f5e

Please sign in to comment.